From 072ba38e9270d32b1557d2a41ffb7fedb6932e94 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Mon, 25 Jul 2011 11:03:59 -0700 Subject: [PATCH] CG: fix add-hook for emacs indentation. --- Documentation/contributor/programming-work.itexi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/contributor/programming-work.itexi b/Documentation/contributor/programming-work.itexi index bfa665a648..7eb43e32a5 100644 --- a/Documentation/contributor/programming-work.itexi +++ b/Documentation/contributor/programming-work.itexi @@ -346,9 +346,9 @@ our official indentation as produced with @code{fixcc.py}. @example (add-hook 'c++-mode-hook - '(lambda() (c-set-style "gnu")) - (setq indent-tabs-mode nil) - ) + '(lambda () + (c-set-style "gnu") + (setq indent-tabs-mode nil)) @end example If you like using font-lock, you can also add this to your -- 2.39.5