emacs-devel
[Top][All Lists]
Advanced

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

Re: add-list local value


From: Lennart Borgman (gmail)
Subject: Re: add-list local value
Date: Wed, 12 Mar 2008 03:18:03 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Stefan Monnier wrote:
Wouldn't it be practical to allow add-list to add to the buffer local value,
like add-hook allows? At least I need it ...

It makes sense for add-hook because buffer-local values of hook include
a special entry t which means "run the global value of this hook".

For lists, it doesn't make much sense I believe.  Either the list is
global or it's local.  If it's local, just make it local with
make-local-variable.


And if I have a local value and want to add to the global value with add-to-list?




reply via email to

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