[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 262a7c9ea0: New minor mode elide-head-mode
From: |
Po Lu |
Subject: |
Re: master 262a7c9ea0: New minor mode elide-head-mode |
Date: |
Mon, 10 Jan 2022 20:35:28 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> `elide-head-mode` already works both to enable and to disable the minor
> mode interactively. For use on hooks, `elide-head-mode` already works
> to enable the mode. For the rare case where the users need to disable
> the mode from a hook, they should use (lambda () (elide-head-mode -1)).
Adding an anonymous function to a hook hurts, and IME `elide-head' is
(or at least used to be) something commonly placed in site
initialization files.