* 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
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue