summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2020-02-13 15:01:28 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2020-02-13 15:01:28 -0500
commit4d8d25d6417d3ac64627a44571cf63feb7abe44f (patch)
tree76f0200e7cbfd8e682f7e931f86b8bfafebdd74a
parent9f6a4bbcc96bef451c75a8a78e442dec87a0ddf0 (diff)
downloademacs-4d8d25d6417d3ac64627a44571cf63feb7abe44f.tar.gz
* 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
variable (i.e., it has a @code{defvar}, @code{defcustom}, or
@code{defconst} variable definition). Otherwise, the return value is
@code{nil}.
+
+Note that since this is a function, it can only return
+non-@code{nil} for variables which are permanently special, but not
+for those that are only special in the current lexical scope.
@end defun
The use of a special variable as a formal argument in a function is