projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b44178
)
; Fix an Eshell error when calling a lambda with form logging enabled
author
Jim Porter
<jporterbugs@gmail.com>
Wed, 13 Sep 2023 19:46:58 +0000
(12:46 -0700)
committer
Jim Porter
<jporterbugs@gmail.com>
Wed, 13 Sep 2023 19:48:52 +0000
(12:48 -0700)
* lisp/eshell/esh-cmd.el (eshell-do-eval): Don't call 'symbol-name';
the function might be a closure.
lisp/eshell/esh-cmd.el
patch
|
blob
|
history
diff --git
a/lisp/eshell/esh-cmd.el
b/lisp/eshell/esh-cmd.el
index 95e9e2599e985dd54ce12f9de449b3e9acc9ae6a..e5ddcfcaa35c628941b1ab9ab77830069c7b982c 100644
(file)
--- a/
lisp/eshell/esh-cmd.el
+++ b/
lisp/eshell/esh-cmd.el
@@
-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)))))