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

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

bug#52980: elide-head and revert-buffer interaction stops elide-head-sho


From: Stefan Kangas
Subject: bug#52980: elide-head and revert-buffer interaction stops elide-head-show from working
Date: Tue, 4 Jan 2022 03:15:42 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

tags 52980 + patch
thanks

Stefan Kangas <stefan@marxist.se> writes:

> I started looking into a solution with {before,after}-revert-hook, but
> that just seems duplicate what we would get from just using a minor
> mode.  So I'm starting to think that `elide-head' and `elide-head-show'
> should be obsoleted in favor of a new local minor mode
> `elide-head-mode'.
>
> That would also save me from having to add a third command
> `elide-head-toggle' to toggle the hiding on or off.

Here's a patch.

Attachment: 0001-New-minor-mode-elide-head-mode.patch
Description: Text Data


reply via email to

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