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

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

Re: program outlining


From: Howard Melman
Subject: Re: program outlining
Date: Wed, 13 Jul 2016 09:42:40 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin)

Rusi <rustompmody@gmail.com> writes:

> On Wednesday, July 13, 2016 at 7:14:27 AM UTC+5:30, Howard Melman wrote:
>> I use outline-minor-mode in emacs-lisp mode and do:
>> 
>>     (setq outline-regexp ";;;;? \\|(....")
>
> This would be serious if we could have it mode-specific
> eg "///" for C++
> "/***" for C which (I guess?) needs to be coded up as "/\\*\\*\\*"
> ??

That of course should have been:
     (setq-local outline-regexp ";;;;? \\|(....")

-- 

Howard




reply via email to

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