emacs-devel
[Top][All Lists]
Advanced

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

Re: Should `revert-buffer' preserve text-scaling by default?


From: Stefan Monnier
Subject: Re: Should `revert-buffer' preserve text-scaling by default?
Date: Fri, 29 Nov 2019 16:09:31 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> There are other buffer-local minor modes that are of similar nature:
> display-line-numbers-mode, display-fill-column-indicator-mode, and
> maybe some others (e.g., what about hl-line-mode?).  So if we are
> going to preserve text-scale-mode across reverting, I think we should
> have a list of modes to preserve, not just exempt this one mode.

There's already the `preserve-modes` argument to `revert-buffer`
for that.  For some reason we don't expose it to the end-user :-(


        Stefan




reply via email to

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