unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Toggle Keybinding
@ 2006-07-30  9:32 Paulo J. Matos
  2006-07-31 15:17 ` Kevin Rodgers
  0 siblings, 1 reply; 6+ messages in thread
From: Paulo J. Matos @ 2006-07-30  9:32 UTC (permalink / raw)


Hi,
I'm setting in .emacs (cvs-emacs) the following:
(add-hook 'c++-mode-hook 'hs-minor-mode)

(add-hook 'c++-mode-hook
	  (lambda ()
	    (local-set-key "M-+" 'hs-toggle-hiding)))

For some reason the keybinding is not working. But if I do
local-set-key in emacs everything seems to go fine! :-)

Any ideas? Should the + in "M-+" be escaped somehow?

-- 
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-08-01 15:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.4656.1154251955.9609.help-gnu-emacs@gnu.org>
2006-07-30 10:33 ` Toggle Keybinding wenbinye
2006-07-30 11:00 ` Harald Hanche-Olsen
2006-07-30  9:32 Paulo J. Matos
2006-07-31 15:17 ` Kevin Rodgers
2006-07-31 22:28   ` Paulo J. Matos
2006-08-01 15:22     ` Kevin Rodgers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).