Emacs: Improve tangling usability Show a message when tangling and make the function a command
Alan Pearce alan.pearce@spotcap.com
Tue, 10 Nov 2015 15:21:10 +0100
1 files changed, 2 insertions(+), 0 deletions(-)
jump to
M tag-emacs/emacs.d/init.org → tag-emacs/emacs.d/init.org
@@ -2530,7 +2530,9 @@ (defun tangle-init () "If the current buffer is 'init.org' the code-blocks are tangled, and the tangled file is compiled." + (interactive) (when (string-suffix-p "init.org" (buffer-file-name)) + (message "Tangling init") (async-start `(lambda () ;; Avoid running hooks when tangling.