; Fix an Eshell error when calling a lambda with form logging enabled
* lisp/eshell/esh-cmd.el (eshell-do-eval): Don't call 'symbol-name'; the function might be a closure.
This commit is contained in:
parent
4b44178e72
commit
922d76e856
1 changed files with 1 additions and 1 deletions
|
@ -1180,7 +1180,7 @@ have been replaced by constants."
|
|||
(if (and args (not (memq (car form) '(run-hooks))))
|
||||
(eshell-manipulate form
|
||||
(format-message "evaluating arguments to `%s'"
|
||||
(symbol-name (car form)))
|
||||
(car form))
|
||||
(while args
|
||||
(setcar args (eshell-do-eval (car args) synchronous-p))
|
||||
(setq args (cdr args)))))
|
||||
|
|
Loading…
Add table
Reference in a new issue