all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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
[parent not found: <mailman.4656.1154251955.9609.help-gnu-emacs@gnu.org>]

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 --
2006-07-30  9:32 Toggle Keybinding 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
     [not found] <mailman.4656.1154251955.9609.help-gnu-emacs@gnu.org>
2006-07-30 10:33 ` wenbinye
2006-07-30 11:00 ` Harald Hanche-Olsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.