diff options
author | Glenn Morris <rgm@gnu.org> | 2012-12-02 17:08:31 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-12-02 17:08:31 -0800 |
commit | c5bc2d1d0558bbaa29ef04f9bd7bef50146382ab (patch) | |
tree | beabc46c767d32fe6cda79f0567834d5ea8225ee /src/data.c | |
parent | 1bf3989cd4ebffdeeebfaaca83c6866416c3908a (diff) | |
parent | 328dac0d42a2b395a327c0eda0ed4bbcec4f6c55 (diff) | |
download | emacs-c5bc2d1d0558bbaa29ef04f9bd7bef50146382ab.tar.gz |
Merge from emacs-24; up to 2012-11-23T06:23:28Z!cyd@gnu.org
Diffstat (limited to 'src/data.c')
-rw-r--r-- | src/data.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/data.c b/src/data.c index 5fc6afaaa03..a72fa3e2b5f 100644 --- a/src/data.c +++ b/src/data.c @@ -506,7 +506,9 @@ DEFUN ("setcdr", Fsetcdr, Ssetcdr, 2, 2, 0, /* Extract and set components of symbols. */ DEFUN ("boundp", Fboundp, Sboundp, 1, 1, 0, - doc: /* Return t if SYMBOL's value is not void. */) + doc: /* Return t if SYMBOL's value is not void. +Note that if `lexical-binding' is in effect, this refers to the +global value outside of any lexical scope. */) (register Lisp_Object symbol) { Lisp_Object valcontents; @@ -1047,7 +1049,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; |