* src/data.c (Fsymbol_value): Doc fix re lexical-binding.
authorGlenn Morris <rgm@gnu.org>
Tue, 27 Nov 2012 20:41:52 +0000 (15:41 -0500)
committerGlenn Morris <rgm@gnu.org>
Tue, 27 Nov 2012 20:41:52 +0000 (15:41 -0500)
src/ChangeLog
src/data.c

index ce272cc..dfdf41e 100644 (file)
@@ -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.
index abcdd4d..ff2c0d9 100644 (file)
@@ -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;