[Emacs] Hide code-generating code
This commit is contained in:
parent
6f8e85c65f
commit
be07d87e06
@ -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 |
|
| th | Health | | file+headline | org-private-agenda-file | health.orgcaptmpl |
|
||||||
| ti | Informatique | | file+headline | org-private-agenda-file | informatique.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
|
#+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
|
#+BEGIN_SRC emacs-lisp :var table=org-capture-shortcuts-table
|
||||||
(format "'(%s)"
|
(format "'(%s)"
|
||||||
(mapconcat (lambda (entry)
|
(mapconcat (lambda (entry)
|
||||||
|
Loading…
Reference in New Issue
Block a user