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: Stefan Monnier
Subject: Re: Novice question: my add-hook binding for c-mode doesnt work :(
Date: Fri, 02 Dec 2005 21:07:41 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> (add-hook 'c-mode-common-hook
>         '(lambda () (define-key c-mode-base-map (kbd "M-o") 
> 'kpox-switch-h-cpp))
         ^^
Removing this quote will improve your karma, will save 1 byte, and won't
hurt anything else.


        Stefan


reply via email to

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