From be07d87e06b8d29d2eaee58a2ba6b5f1ba2c3c2b Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Fri, 2 Apr 2021 19:32:01 +0200 Subject: [PATCH] [Emacs] Hide code-generating code --- org/config/emacs.org | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/org/config/emacs.org b/org/config/emacs.org index 3201030..b975c5c 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -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)