aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
authorChong Yidong2012-09-07 22:15:59 +0800
committerChong Yidong2012-09-07 22:15:59 +0800
commit1a5432bc0480ab64dd7ac5d57d1025bdc3f0402b (patch)
treee56bc5c1142d83a8654c54cce5b3499c64afa5d8 /src/data.c
parentcee2e90d475f6d9dbdb7e92a127b65faa342665c (diff)
downloademacs-1a5432bc0480ab64dd7ac5d57d1025bdc3f0402b.tar.gz
emacs-1a5432bc0480ab64dd7ac5d57d1025bdc3f0402b.zip
Fix doc of local-variable-if-set-p.
* doc/lispref/variables.texi (Creating Buffer-Local): Fix description of local-variable-if-set-p. * src/data.c (Flocal_variable_if_set_p): Doc fix (Bug#10713).
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/data.c b/src/data.c
index 5fbf43e424e..de107fc04a5 100644
--- a/src/data.c
+++ b/src/data.c
@@ -1882,12 +1882,12 @@ BUFFER defaults to the current buffer. */)
1882 1882
1883DEFUN ("local-variable-if-set-p", Flocal_variable_if_set_p, Slocal_variable_if_set_p, 1883DEFUN ("local-variable-if-set-p", Flocal_variable_if_set_p, Slocal_variable_if_set_p,
1884 1, 2, 0, 1884 1, 2, 0,
1885 doc: /* Non-nil if VARIABLE will be local in buffer BUFFER when set there. 1885 doc: /* Non-nil if VARIABLE is local in buffer BUFFER when set there.
1886More precisely, this means that setting the variable \(with `set' or`setq'), 1886BUFFER defaults to the current buffer.
1887while it does not have a `let'-style binding that was made in BUFFER, 1887
1888will produce a buffer local binding. See Info node 1888More precisely, return non-nil if either VARIABLE already has a local
1889`(elisp)Creating Buffer-Local'. 1889value in BUFFER, or if VARIABLE is automatically buffer-local (see
1890BUFFER defaults to the current buffer. */) 1890`make-variable-buffer-local'). */)
1891 (register Lisp_Object variable, Lisp_Object buffer) 1891 (register Lisp_Object variable, Lisp_Object buffer)
1892{ 1892{
1893 struct Lisp_Symbol *sym; 1893 struct Lisp_Symbol *sym;