diff options
| author | Richard M. Stallman | 2002-10-26 22:34:50 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-10-26 22:34:50 +0000 |
| commit | 40e18430f501310102c97ed7a5f111d0459ae34c (patch) | |
| tree | e71a70d26baff1370bb66fe8afaee371177d4e26 | |
| parent | 0d8781d856ad2d8af7f735737441c01a20258e71 (diff) | |
| download | emacs-40e18430f501310102c97ed7a5f111d0459ae34c.tar.gz emacs-40e18430f501310102c97ed7a5f111d0459ae34c.zip | |
(unsafep-variable): Pass second arg to risky-local-variable-p.
| -rw-r--r-- | lisp/emacs-lisp/unsafep.el | 2 |
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) |