From: Graham Percival Date: Mon, 25 Jul 2011 18:03:59 +0000 (-0700) Subject: CG: fix add-hook for emacs indentation. X-Git-Tag: release/2.15.6-1~2^2~2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=072ba38e9270d32b1557d2a41ffb7fedb6932e94;p=lilypond.git CG: fix add-hook for emacs indentation. --- 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