From 815e4317c124bcda1537940d412722b7c7a3ec04 Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Thu, 9 Apr 2015 19:57:05 +0200 Subject: [PATCH] after-save-hook: run check-parens. Signed-off-by: Andreas Gerler --- bba.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.47.3