summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-10-26 22:34:50 +0000
committerRichard M. Stallman <rms@gnu.org>2002-10-26 22:34:50 +0000
commit40e18430f501310102c97ed7a5f111d0459ae34c (patch)
treee71a70d26baff1370bb66fe8afaee371177d4e26 /lisp
parent0d8781d856ad2d8af7f735737441c01a20258e71 (diff)
downloademacs-40e18430f501310102c97ed7a5f111d0459ae34c.tar.gz
(unsafep-variable): Pass second arg to risky-local-variable-p.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emacs-lisp/unsafep.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/unsafep.el b/lisp/emacs-lisp/unsafep.el
index 59b81f3ef89..583bd1e254d 100644
--- a/lisp/emacs-lisp/unsafep.el
+++ b/lisp/emacs-lisp/unsafep.el
@@ -250,7 +250,7 @@ is okay if GLOBAL-OKAY is non-nil."
(cond
((not (symbolp sym))
`(variable ,sym))
- ((risky-local-variable-p sym)
+ ((risky-local-variable-p sym nil)
`(risky-local-variable ,sym))
((not (or global-okay
(memq sym unsafep-vars)