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
4b2d77d8
Commit
4b2d77d8
authored
Jun 11, 2016
by
Stefan Monnier
Browse files
* lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Fix (bug#19704)
Don't rewrite (funcall 'f ...) to (f ...).
parent
12e009e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/emacs-lisp/macroexp.el
lisp/emacs-lisp/macroexp.el
+1
-1
No files found.
lisp/emacs-lisp/macroexp.el
View file @
4b2d77d8
...
...
@@ -261,7 +261,7 @@ Assumes the caller has bound `macroexpand-all-environment'."
(
format
"%s quoted with ' rather than with #'"
(
list
'lambda
(
nth
1
f
)
'...
))
(
macroexp--expand-all
`
(
,
fun
,
arg1
,
f
.
,
args
))))
(
`
(
funcall
(
,
(
or
'quote
'function
)
,
(
and
f
(
pred
symbolp
))
.
,
_
)
.
,
args
)
(
`
(
funcall
#'
,
(
and
f
(
pred
symbolp
))
.
,
args
)
;; Rewrite (funcall #'foo bar) to (foo bar), in case `foo'
;; has a compiler-macro.
(
macroexp--expand-all
`
(
,
f
.
,
args
)))
...
...
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