emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 922d76e8561: ; Fix an Eshell error when calling a lambda with for


From: Jim Porter
Subject: master 922d76e8561: ; Fix an Eshell error when calling a lambda with form logging enabled
Date: Wed, 13 Sep 2023 15:49:02 -0400 (EDT)

branch: master
commit 922d76e85615b39a9262d0f2c629dfd7e67b9e52
Author: Jim Porter <jporterbugs@gmail.com>
Commit: Jim Porter <jporterbugs@gmail.com>

    ; 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.
---
 lisp/eshell/esh-cmd.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/eshell/esh-cmd.el b/lisp/eshell/esh-cmd.el
index 95e9e2599e9..e5ddcfcaa35 100644
--- 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)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]