mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
* lisp/emacs-lisp/inline.el: Fix apply-conversion (bug#25280)
(inline--dont-quote): Quote the function with #' when passing it to `apply'.
Cherry picked from commit e6161f6489
.
This commit is contained in:
parent
697167b543
commit
af1b1026dd
@ -191,9 +191,9 @@ After VARS is handled, BODY is evaluated in the new environment."
|
||||
(while (and (consp exp) (not (eq '\, (car exp))))
|
||||
(push (inline--dont-quote (pop exp)) args))
|
||||
(setq args (nreverse args))
|
||||
(if exp
|
||||
`(apply ,@args ,(inline--dont-quote exp))
|
||||
args)))
|
||||
(if (null exp)
|
||||
args
|
||||
`(apply #',(car args) ,@(cdr args) ,(inline--dont-quote exp)))))
|
||||
(_ exp)))
|
||||
|
||||
(defun inline--do-leteval (var-exp &rest body)
|
||||
|
Loading…
Reference in New Issue
Block a user