* lisp/emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
This commit is contained in:
parent
04380ff1b8
commit
059616e5a8
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2011-01-11 Johan Bockgård <bojohan@gnu.org>
|
||||
|
||||
* emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
|
||||
|
||||
2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* progmodes/prolog.el: Fix up coding convention and such.
|
||||
|
|
|
@ -202,6 +202,9 @@ UNSAFEP-VARS is a list of symbols with local bindings."
|
|||
(dolist (x (nthcdr 3 form))
|
||||
(setq reason (unsafep-progn (cdr x)))
|
||||
(if reason (throw 'unsafep reason))))))
|
||||
((eq fun '\`)
|
||||
;; Backquoted form - safe if its expansion is.
|
||||
(unsafep (cdr (backquote-process (cadr form)))))
|
||||
(t
|
||||
;;First unsafep-function call above wasn't nil, no special case applies
|
||||
reason)))))
|
||||
|
|
Loading…
Add table
Reference in a new issue