]> git.eshelyaron.com Git - emacs.git/commitdiff
(unsafep-variable): Pass second arg to risky-local-variable-p.
authorRichard M. Stallman <rms@gnu.org>
Sat, 26 Oct 2002 22:34:50 +0000 (22:34 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 26 Oct 2002 22:34:50 +0000 (22:34 +0000)
lisp/emacs-lisp/unsafep.el

index 59b81f3ef897b4d2d31fc1adeb8654a0dbbc7b2b..583bd1e254d5c02b99872faacb43b8ec222e60c0 100644 (file)
@@ -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)