Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
059616e5
Commit
059616e5
authored
Jan 11, 2011
by
Johan Bockgård
Browse files
* lisp/emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
parent
04380ff1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/emacs-lisp/unsafep.el
lisp/emacs-lisp/unsafep.el
+3
-0
No files found.
lisp/ChangeLog
View file @
059616e5
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.
...
...
lisp/emacs-lisp/unsafep.el
View file @
059616e5
...
...
@@ -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
)))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment