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

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

Re: expand/collapse{} in c++


From: Peter Lee
Subject: Re: expand/collapse{} in c++
Date: Fri, 26 Aug 2005 21:56:06 GMT
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

>>>> Baloff  writes:

    Baloff> (add-hook 'c++-mode-hook 'hs-minor-mode t) ;for block hide/show

Think you want:

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


reply via email to

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