diff options
author | Glenn Morris <rgm@gnu.org> | 2012-11-27 15:41:52 -0500 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-11-27 15:41:52 -0500 |
commit | c8d21e0ebd39fc3b3c22138ed7e9eb3ffc71562c (patch) | |
tree | 821efcdfe87906c57610c3462ca2e54f02d66931 /src | |
parent | 14b45577cdd472e5a38f0782f24bda512f096d31 (diff) | |
download | emacs-c8d21e0ebd39fc3b3c22138ed7e9eb3ffc71562c.tar.gz |
* src/data.c (Fsymbol_value): Doc fix re lexical-binding.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/data.c | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e61bca5cfe7..581030cca49 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2012-11-27 Glenn Morris <rgm@gnu.org> + + * data.c (Fsymbol_value): Doc fix re lexical-binding. + 2012-11-26 Eli Zaretskii <eliz@gnu.org> * fontset.c (Finternal_char_font): Return nil on non-GUI frames. diff --git a/src/data.c b/src/data.c index abcdd4dca0d..ff2c0d94b9d 100644 --- a/src/data.c +++ b/src/data.c @@ -1047,7 +1047,9 @@ find_symbol_value (Lisp_Object symbol) } DEFUN ("symbol-value", Fsymbol_value, Ssymbol_value, 1, 1, 0, - doc: /* Return SYMBOL's value. Error if that is void. */) + doc: /* Return SYMBOL's value. Error if that is void. +Note that if `lexical-binding' is in effect, this returns the +global value outside of any lexical scope. */) (Lisp_Object symbol) { Lisp_Object val; |