help-gnu-emacs
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Novice question: my add-hook binding for c-mode doesnt work :(
From
:
Kpoxman (sent by Nabble.com)
Subject
:
Novice question: my add-hook binding for c-mode doesnt work :(
Date
:
Thu, 1 Dec 2005 03:08:14 -0800 (PST)
The code from .emacs:
(add-hook 'c-mode-common-hook
'(lambda () (define-key c-mode-map (kbd "M-o") 'kpox-switch-h-cpp))
)
After I open .CPP file kpox-switch-h-cpp appears in c-mode-map bindings (I checked c-mode-map variable). But pressing M-o doesnt call kpox-switch-h-cpp. An old function from global binding is called (set-face or something similar).
Please advise me what is the problem and how to solve it.
Sent from the
Emacs - Help
forum at Nabble.com:
Novice question: my add-hook binding for c-mode doesnt work :(
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
Novice question: my add-hook binding for c-mode doesnt work :(
,
Kpoxman (sent by Nabble.com)
<=
Re: Novice question: my add-hook binding for c-mode doesnt work :(
,
Xavier Maillard
,
2005/12/02
Re: Novice question: my add-hook binding for c-mode doesnt work :(
,
Henrik Enberg
,
2005/12/02
Re: Novice question: my add-hook binding for c-mode doesnt work :(
,
Kpoxman (sent by Nabble.com)
,
2005/12/02
Message not available
Re: Novice question: my add-hook binding for c-mode doesnt work :(
,
Stefan Monnier
,
2005/12/02
Message not available
Re: Novice question: my add-hook binding for c-mode doesnt work :(
,
Alan Mackenzie
,
2005/12/03
Re: Novice question: my add-hook binding for c-mode doesnt work :(
,
Stefan Monnier
,
2005/12/04
Re: Novice question: my add-hook binding for c-mode doesnt work :(
,
Matthieu Moy
,
2005/12/04
Re: Novice question: my add-hook binding for c-mode doesnt work :(
,
Anselm Helbig
,
2005/12/01
Re: Novice question: my add-hook binding for c-mode doesnt work :(
,
Thien-Thi Nguyen
,
2005/12/01
Re: Novice question: my add-hook binding for c-mode doesnt work :(
,
Johan Bockgård
,
2005/12/01
Prev by Date:
Is buffer size fixed in batch mode?
Next by Date:
Постановка системы мотивации в компании
Previous by thread:
Is buffer size fixed in batch mode?
Next by thread:
Re: Novice question: my add-hook binding for c-mode doesnt work :(
Index(es):
Date
Thread