aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref/variables.texi
diff options
context:
space:
mode:
authorJoakim Verona2012-02-10 08:29:52 +0100
committerJoakim Verona2012-02-10 08:29:52 +0100
commitdb2e8ff4fd52d6a06cef414787fd031cc26d43fa (patch)
treec0e6fe54a70be21c9efa1f34040ce08499754e74 /doc/lispref/variables.texi
parent8c5c7f5afa968d06efb6788cf680d5463c389d85 (diff)
parent667ced3a2d224b0f2ab3f2da26468791252c234a (diff)
downloademacs-db2e8ff4fd52d6a06cef414787fd031cc26d43fa.tar.gz
emacs-db2e8ff4fd52d6a06cef414787fd031cc26d43fa.zip
upstream
Diffstat (limited to 'doc/lispref/variables.texi')
-rw-r--r--doc/lispref/variables.texi11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi
index bdb16cd10a8..ab3a4edc0ac 100644
--- a/doc/lispref/variables.texi
+++ b/doc/lispref/variables.texi
@@ -1317,11 +1317,12 @@ value (@pxref{Default Value}) of @var{variable} instead.
1317 1317
1318@defun buffer-local-variables &optional buffer 1318@defun buffer-local-variables &optional buffer
1319This function returns a list describing the buffer-local variables in 1319This function returns a list describing the buffer-local variables in
1320buffer @var{buffer}. (If @var{buffer} is omitted, the current buffer is 1320buffer @var{buffer}. (If @var{buffer} is omitted, the current buffer
1321used.) It returns an association list (@pxref{Association Lists}) in 1321is used.) Normally, each list element has the form
1322which each element contains one buffer-local variable and its value. 1322@w{@code{(@var{sym} . @var{val})}}, where @var{sym} is a buffer-local
1323However, when a variable's buffer-local binding in @var{buffer} is void, 1323variable (a symbol) and @var{val} is its buffer-local value. But when
1324then the variable appears directly in the resulting list. 1324a variable's buffer-local binding in @var{buffer} is void, its list
1325element is just @var{sym}.
1325 1326
1326@example 1327@example
1327@group 1328@group