summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2015-11-10 15:21:10 +0100
committerAlan Pearce2015-11-10 15:21:10 +0100
commitc416be67dfc497c1ae7b771e9cce94a5697cbea6 (patch)
tree327f9554a0ce2814a93716d6dcf9e28f6e1d2bc2 /tag-emacs
parent0ad05722d21d6d8dcb953fd9fa9297f1ce49bf60 (diff)
downloadnixfiles-c416be67dfc497c1ae7b771e9cce94a5697cbea6.tar.lz
nixfiles-c416be67dfc497c1ae7b771e9cce94a5697cbea6.tar.zst
nixfiles-c416be67dfc497c1ae7b771e9cce94a5697cbea6.zip
Emacs: Improve tangling usability
Show a message when tangling and make the function a command
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org2
1 files changed, 2 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 4f5133ee..f2766588 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -2530,7 +2530,9 @@ the =org=-document after changes.
     "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.