changeset 48008:54e6db99ee89

(unsafep-variable): Pass second arg to risky-local-variable-p.
author Richard M. Stallman <rms@gnu.org>
date Sat, 26 Oct 2002 22:34:50 +0000
parents c04620adce24
children 8b3977d58df6
files lisp/emacs-lisp/unsafep.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/unsafep.el	Sat Oct 26 22:34:14 2002 +0000
+++ b/lisp/emacs-lisp/unsafep.el	Sat Oct 26 22:34:50 2002 +0000
@@ -250,7 +250,7 @@
   (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)