]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
after-save-hook: run check-parens.
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 9 Apr 2015 17:57:05 +0000 (19:57 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 9 Apr 2015 17:57:05 +0000 (19:57 +0200)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
bba.org

diff --git a/bba.org b/bba.org
index 84146e52ce5b5d5ee84d371bd385e33f0a7c6a72..7074bcc9fc5f54f526f5b356711ab925aa695f1d 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -1226,8 +1226,9 @@ Use =C-c E= to evaluate and replace the last s-expression.
 safe files with #! in first line as user executable.
 
 #+BEGIN_SRC emacs-lisp
-  (add-hook `after-safe-hook
+  (add-hook `after-save-hook
             #'(lambda ()
+                (check-parens)
                 (and (save-excursion
                        (save-restriction
                          (widen)