[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Toggle Keybinding
From: |
Paulo J. Matos |
Subject: |
Re: Toggle Keybinding |
Date: |
Mon, 31 Jul 2006 23:28:35 +0100 |
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.
--
Kevin
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group