|
From: | Xavier Maillard |
Subject: | Re: Novice question: my add-hook binding for c-mode doesnt work :( |
Date: | Fri, 02 Dec 2005 07:52:03 +0100 |
"Kpoxman (sent by Nabble.com)" <lists@nabble.com> writes: > The code from .emacs: > > (add-hook 'c-mode-common-hook > '(lambda () (define-key c-mode-map (kbd "M-o") 'kpox-switch-h-cpp)) > ) This form is useless. You don't need to bind this key definition to this hook. Just use the (define-key ..) stuff and that *should* work.
[Prev in Thread] | Current Thread | [Next in Thread] |