Mercurial > emacs
changeset 53436:d5e80b7f2917
(Creating Buffer-Local): Add local-variable-if-set-p.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 29 Dec 2003 21:52:03 +0000 |
parents | 0f3abb6bbf27 |
children | 9b4db8b28d9e |
files | lispref/variables.texi |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/variables.texi Mon Dec 29 21:51:29 2003 +0000 +++ b/lispref/variables.texi Mon Dec 29 21:52:03 2003 +0000 @@ -1335,6 +1335,12 @@ @code{nil}. @end defun +@defun local-variable-if-set-p variable &optional buffer +This returns @code{t} if @var{variable} will become buffer-local in +buffer @var{buffer} (which defaults to the current buffer) if it is +set there. +@end defun + @defun buffer-local-value variable buffer This function returns the buffer-local binding of @var{variable} (a symbol) in buffer @var{buffer}. If @var{variable} does not have a