diff options
| author | Chong Yidong | 2012-09-07 22:15:59 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-09-07 22:15:59 +0800 |
| commit | 1a5432bc0480ab64dd7ac5d57d1025bdc3f0402b (patch) | |
| tree | e56bc5c1142d83a8654c54cce5b3499c64afa5d8 /src/data.c | |
| parent | cee2e90d475f6d9dbdb7e92a127b65faa342665c (diff) | |
| download | emacs-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.c | 12 |
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 | ||
| 1883 | DEFUN ("local-variable-if-set-p", Flocal_variable_if_set_p, Slocal_variable_if_set_p, | 1883 | DEFUN ("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. |
| 1886 | More precisely, this means that setting the variable \(with `set' or`setq'), | 1886 | BUFFER defaults to the current buffer. |
| 1887 | while it does not have a `let'-style binding that was made in BUFFER, | 1887 | |
| 1888 | will produce a buffer local binding. See Info node | 1888 | More precisely, return non-nil if either VARIABLE already has a local |
| 1889 | `(elisp)Creating Buffer-Local'. | 1889 | value in BUFFER, or if VARIABLE is automatically buffer-local (see |
| 1890 | BUFFER 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; |