From: Andreas Gerler Date: Thu, 9 Apr 2015 17:57:05 +0000 (+0200) Subject: after-save-hook: run check-parens. X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=815e4317c124bcda1537940d412722b7c7a3ec04;p=emacsconfig.git after-save-hook: run check-parens. Signed-off-by: Andreas Gerler --- diff --git a/bba.org b/bba.org index 84146e52..7074bcc9 100644 --- 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)