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

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

Re: Toggle Keybinding


From: Kevin Rodgers
Subject: Re: Toggle Keybinding
Date: Mon, 31 Jul 2006 09:17:28 -0600
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

Paulo J. Matos wrote:
I'm setting in .emacs (cvs-emacs) the following:
(add-hook 'c++-mode-hook 'hs-minor-mode)

Just a minor point: hs-minor-mode toggles, so what you really mean is:

(add-hook 'c++-mode-hook (lambda () (hs-minor-mode 1)))

--
Kevin





reply via email to

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