help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Novice question: my add-hook binding for c-mode doesnt work :(


From: Kpoxman (sent by Nabble.com)
Subject: Re: Novice question: my add-hook binding for c-mode doesnt work :(
Date: Fri, 2 Dec 2005 01:10:36 -0800 (PST)

Thank you guys!
So, the correct code is (I've tested and it works):

(add-hook 'c-mode-common-hook
          '(lambda () (define-key c-mode-base-map (kbd "M-o") 'kpox-switch-h-cpp))
          )


Sent from the Emacs - Help forum at Nabble.com:
Re: Novice question: my add-hook binding for c-mode doesnt work :(
reply via email to

[Prev in Thread] Current Thread [Next in Thread]