diff options
| author | Richard M. Stallman | 2001-11-05 00:08:57 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-11-05 00:08:57 +0000 |
| commit | afd16d460a4db8d5f07479e07185e0d4700e8415 (patch) | |
| tree | f4b5a7c6d4b27e6ba769ab0f9a559d70dd70928c | |
| parent | 758f07de257b897de0ce1a2c1f360d9af91495d1 (diff) | |
| download | emacs-afd16d460a4db8d5f07479e07185e0d4700e8415.tar.gz emacs-afd16d460a4db8d5f07479e07185e0d4700e8415.zip | |
Document buffer-local-value.
| -rw-r--r-- | lispref/variables.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lispref/variables.texi b/lispref/variables.texi index 17f4d28df3a..5d19cbefd0e 100644 --- a/lispref/variables.texi +++ b/lispref/variables.texi | |||
| @@ -1359,6 +1359,13 @@ Note that storing new values into the @sc{cdr}s of cons cells in this | |||
| 1359 | list does @emph{not} change the buffer-local values of the variables. | 1359 | list does @emph{not} change the buffer-local values of the variables. |
| 1360 | @end defun | 1360 | @end defun |
| 1361 | 1361 | ||
| 1362 | @defun buffer-local-value variable buffer | ||
| 1363 | This function returns the buffer-local binding of @var{variable} (a | ||
| 1364 | symbol) in buffer @var{buffer}. If @var{variable} does not have a | ||
| 1365 | buffer-local binding in buffer @var{buffer}, it returns the default | ||
| 1366 | value (@pxref{Default Value}) of @var{variable} instead. | ||
| 1367 | @end defun | ||
| 1368 | |||
| 1362 | @deffn Command kill-local-variable variable | 1369 | @deffn Command kill-local-variable variable |
| 1363 | This function deletes the buffer-local binding (if any) for | 1370 | This function deletes the buffer-local binding (if any) for |
| 1364 | @var{variable} (a symbol) in the current buffer. As a result, the | 1371 | @var{variable} (a symbol) in the current buffer. As a result, the |