]> git.donarmstrong.com Git - lilypond.git/commitdiff
CG: fix add-hook for emacs indentation.
authorGraham Percival <graham@percival-music.ca>
Mon, 25 Jul 2011 18:03:59 +0000 (11:03 -0700)
committerGraham Percival <graham@percival-music.ca>
Mon, 25 Jul 2011 20:14:28 +0000 (13:14 -0700)
Documentation/contributor/programming-work.itexi

index bfa665a64866ce4ce4750ac3d648645de33e17a7..7eb43e32a56c6cfb299e7e9f8d09524d4dcd23d6 100644 (file)
@@ -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