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

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

Re: Help needed with defadvice


From: Stefan Monnier
Subject: Re: Help needed with defadvice
Date: Sat, 23 Nov 2013 09:48:44 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>         (,(or parent 'kill-all-local-variables))   <<<<<<<<<
[...]
> Does anyone know why this is there?

Read the Elisp manual's description of what a major mode should do.
Buffer-local variables are (in their majority) specific a particular
major mode, hence they are reset when the major mode changes.


        Stefan




reply via email to

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