emacs-devel
[Top][All Lists]
Advanced

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

Re: Ambrose Kofi Laing & Ralph Neelante Amissah [Emacs] sisu-mode.el - a


From: Ralph Amissah
Subject: Re: Ambrose Kofi Laing & Ralph Neelante Amissah [Emacs] sisu-mode.el - a major-mode for highlighting a structured text
Date: Sun, 21 Feb 2016 12:17:53 -0500
User-agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu)

Stefan Monnier <address@hidden> writes:

>
> Thanks, installed.
>
>
>         Stefan

Stefan, thanks.
Ralph

P.S.
>> +;; enables outlining for sisu
>> +(add-hook 'sisu-mode-hook
>> +         'outline-minor-mode)
>
>>> Finally, it's generally preferred to put such code directly in the
>>> sisu-mode function and leave the sisu-mode-hook nil by default.
>> I did not get this quite
>
> If you want to enable outline-minor-mode, then you can add
>
>     (outline-minor-mode 1)
>
> at the end of the `sisu-mode' function.  This way sisu-mode-hook will
> still be empty by default, as is the convention.
>

thanks



reply via email to

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