|
From: | Matthieu Moy |
Subject: | Re: Novice question: my add-hook binding for c-mode doesnt work :( |
Date: | Sun, 04 Dec 2005 17:05:31 +0100 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Alan Mackenzie <acm@muc.de> writes: > Just one small point: The above code "adds" the binding to the key map > every time you open a CC Mode buffer. You really only need to add the > key binding once: use CC Mode's initialization hook instead: See also `eval-after-load'. -- Matthieu
[Prev in Thread] | Current Thread | [Next in Thread] |