[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: |
Stefan Monnier |
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 10:51:03 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> +;; 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.
> I did a diff against the original file and put a few things back (e.g. the
> triple curly braces).
Thanks, installed.
Stefan