summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-11-27 15:41:52 -0500
committerGlenn Morris <rgm@gnu.org>2012-11-27 15:41:52 -0500
commitc8d21e0ebd39fc3b3c22138ed7e9eb3ffc71562c (patch)
tree821efcdfe87906c57610c3462ca2e54f02d66931 /src
parent14b45577cdd472e5a38f0782f24bda512f096d31 (diff)
downloademacs-c8d21e0ebd39fc3b3c22138ed7e9eb3ffc71562c.tar.gz
* src/data.c (Fsymbol_value): Doc fix re lexical-binding.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/data.c4
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;