diff options
| author | Richard M. Stallman | 2003-12-29 21:52:03 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-12-29 21:52:03 +0000 |
| commit | dbcd9cd756728dcc2fca63b3357a080aff5a96fc (patch) | |
| tree | e6d93c76576d6e84c2e381929670779ff6907619 /lispref | |
| parent | 6fac48b39c3b6534774de41fe2307b3db2ec4766 (diff) | |
| download | emacs-dbcd9cd756728dcc2fca63b3357a080aff5a96fc.tar.gz emacs-dbcd9cd756728dcc2fca63b3357a080aff5a96fc.zip | |
(Creating Buffer-Local): Add local-variable-if-set-p.
Diffstat (limited to 'lispref')
| -rw-r--r-- | lispref/variables.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lispref/variables.texi b/lispref/variables.texi index bbe7358b5d7..4ff40120ca4 100644 --- a/lispref/variables.texi +++ b/lispref/variables.texi | |||
| @@ -1335,6 +1335,12 @@ This returns @code{t} if @var{variable} is buffer-local in buffer | |||
| 1335 | @code{nil}. | 1335 | @code{nil}. |
| 1336 | @end defun | 1336 | @end defun |
| 1337 | 1337 | ||
| 1338 | @defun local-variable-if-set-p variable &optional buffer | ||
| 1339 | This returns @code{t} if @var{variable} will become buffer-local in | ||
| 1340 | buffer @var{buffer} (which defaults to the current buffer) if it is | ||
| 1341 | set there. | ||
| 1342 | @end defun | ||
| 1343 | |||
| 1338 | @defun buffer-local-value variable buffer | 1344 | @defun buffer-local-value variable buffer |
| 1339 | This function returns the buffer-local binding of @var{variable} (a | 1345 | This function returns the buffer-local binding of @var{variable} (a |
| 1340 | symbol) in buffer @var{buffer}. If @var{variable} does not have a | 1346 | symbol) in buffer @var{buffer}. If @var{variable} does not have a |