aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2020-02-13 15:01:28 -0500
committerStefan Monnier2020-02-13 15:01:28 -0500
commit4d8d25d6417d3ac64627a44571cf63feb7abe44f (patch)
tree76f0200e7cbfd8e682f7e931f86b8bfafebdd74a
parent9f6a4bbcc96bef451c75a8a78e442dec87a0ddf0 (diff)
downloademacs-4d8d25d6417d3ac64627a44571cf63feb7abe44f.tar.gz
emacs-4d8d25d6417d3ac64627a44571cf63feb7abe44f.zip
* doc/lispref/variables.texi (special-variable-p): Clarify limits
-rw-r--r--doc/lispref/variables.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi
index 1e357754abe..35eb4d59fb0 100644
--- a/doc/lispref/variables.texi
+++ b/doc/lispref/variables.texi
@@ -1229,6 +1229,10 @@ This function returns non-@code{nil} if @var{symbol} is a special
1229variable (i.e., it has a @code{defvar}, @code{defcustom}, or 1229variable (i.e., it has a @code{defvar}, @code{defcustom}, or
1230@code{defconst} variable definition). Otherwise, the return value is 1230@code{defconst} variable definition). Otherwise, the return value is
1231@code{nil}. 1231@code{nil}.
1232
1233Note that since this is a function, it can only return
1234non-@code{nil} for variables which are permanently special, but not
1235for those that are only special in the current lexical scope.
1232@end defun 1236@end defun
1233 1237
1234 The use of a special variable as a formal argument in a function is 1238 The use of a special variable as a formal argument in a function is