emacs-devel
[Top][All Lists]
Advanced

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

Re: frame-local variables weirdness


From: Stefan Monnier
Subject: Re: frame-local variables weirdness
Date: Sat, 09 Dec 2006 10:26:37 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

> `local-variable-p'), but I still don't see an easy way to implement a
> frame-local version of `local-variable-if-set-p'.

It's easy to implement:

  (defalias 'frame-local-variable-if-set-p 'frame-local-variable-p)

make-variable-frame-local is not like make-variable-buffer-local: it does
not cause `setq' to make the variabke frame-local.  It only means that the
variable setting may be changed on a frame-by-frame basis via
frame-parameters.


        Stefan




reply via email to

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