emacs-devel
[Top][All Lists]
Advanced

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

Re: [ELPA] new single file package: mpdired.el


From: Eli Zaretskii
Subject: Re: [ELPA] new single file package: mpdired.el
Date: Sun, 10 Mar 2024 21:24:07 +0200

> Cc: Manuel Giraud via "Emacs development discussions." <emacs-devel@gnu.org>
> Date: Sun, 10 Mar 2024 19:03:56 +0100
> From:  Manuel Giraud via "Emacs development discussions." 
> <emacs-devel@gnu.org>
> > I have tried to do so but for whatever reason this completely messes up
> > the way I'm saving state in buffer local variables.  FWIW, I have tried
> > with parent as nil and special-mode with the same result.
> 
> It seems to be because `define-derived-mode' calls
> `kill-all-local-variables' (line 254 of derived.el).  Maybe this could
> be optional.  WDYT?

How can we NOT kill all local variables when we are turning on a major
mode?



reply via email to

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