commit 97974236d268ec45089839e5c59b9e9a320783b8 parent 1b823e308000993df37f7cc62dbabd021ada4cb5 Author: Vincent Demeester <vincent@sbr.pm> Date: Wed, 19 Aug 2020 17:34:47 +0200 tools/emacs: remove duplicate tangle-all-notes Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | tools/emacs/config/config-org.el | | | 11 | ----------- |
1 file changed, 0 insertions(+), 11 deletions(-)
diff --git a/tools/emacs/config/config-org.el b/tools/emacs/config/config-org.el @@ -593,17 +593,6 @@ file which do not already have one." (monthname " *" day ", *" year "[^0-9]") (year "[-/]" month "[-/]" day "[^0-9]") (dayname "\\W")))) -(use-package org - :config - (defun vde/tangle-all-notes () - "Produce files from my notes folder. -This function will attempt to tangle all org files from `org-notes-dir'. The -assumption is that those will generate configuration file (in `~/src/home'), -and thus keeping the configuration source up-to-date" - (mapc (lambda (x) (org-babel-tangle-file x)) - (ignore-errors - (directory-files-recursively org-notes-dir "\.org$")))) - :hook ((kill-emacs . vde/tangle-all-notes))) (use-package org :defer t