aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-10-26 22:34:50 +0000
committerRichard M. Stallman2002-10-26 22:34:50 +0000
commit40e18430f501310102c97ed7a5f111d0459ae34c (patch)
treee71a70d26baff1370bb66fe8afaee371177d4e26
parent0d8781d856ad2d8af7f735737441c01a20258e71 (diff)
downloademacs-40e18430f501310102c97ed7a5f111d0459ae34c.tar.gz
emacs-40e18430f501310102c97ed7a5f111d0459ae34c.zip
(unsafep-variable): Pass second arg to risky-local-variable-p.
-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."
250 (cond 250 (cond
251 ((not (symbolp sym)) 251 ((not (symbolp sym))
252 `(variable ,sym)) 252 `(variable ,sym))
253 ((risky-local-variable-p sym) 253 ((risky-local-variable-p sym nil)
254 `(risky-local-variable ,sym)) 254 `(risky-local-variable ,sym))
255 ((not (or global-okay 255 ((not (or global-okay
256 (memq sym unsafep-vars) 256 (memq sym unsafep-vars)