[Emacs] Hide code-generating code

This commit is contained in:
Lucien Cartier-Tilet 2021-04-02 19:32:01 +02:00
parent 6f8e85c65f
commit be07d87e06
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 1 additions and 4 deletions

View File

@ -3105,11 +3105,8 @@ is a new org node with a headline and some content.
| th | Health | | file+headline | org-private-agenda-file | health.orgcaptmpl |
| ti | Informatique | | file+headline | org-private-agenda-file | informatique.orgcaptmpl |
The following code snipped is not tangled into my configuration file, but
instead creates the equivalent to the table above into EmacsLisp code found in
the next code snippet.
#+NAME: org-capture-shortcut-gen
#+header: :exports code :cache yes :results replace
#+header: :exports none :cache yes :results replace
#+BEGIN_SRC emacs-lisp :var table=org-capture-shortcuts-table
(format "'(%s)"
(mapconcat (lambda (entry)