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: Tue, 01 Aug 2006 09:22:04 -0600
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)

Paulo J. Matos wrote:
On 31/07/06, Kevin Rodgers <ihs_4664@yahoo.com> wrote:
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)))

Thanks for sharing this precious detail.

You're welcome.

--
Kevin





reply via email to

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