emacs-diffs
[Top][All Lists]
Advanced

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

master 7ab6213 2/3: Use 'eshell-find-alias-function' instead of fboundp


From: Lars Ingebrigtsen
Subject: master 7ab6213 2/3: Use 'eshell-find-alias-function' instead of fboundp
Date: Mon, 16 Nov 2020 17:16:48 -0500 (EST)

branch: master
commit 7ab6213886c72ac7a04a20b114a4f810c6484168
Author: Ruthra Kumar <ruthrab@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Use 'eshell-find-alias-function' instead of fboundp
    
    * lisp/eshell/esh-cmd.el (eshell-invoke-directly): Fix problem
    with (require 'em-tramp) making password prompting from "sudo
    bash" no longer work (bug#43772).
---
 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 f1cf933..68b3483 100644
--- a/lisp/eshell/esh-cmd.el
+++ b/lisp/eshell/esh-cmd.el
@@ -918,7 +918,7 @@ at the moment are:
                       (funcall pred name))
                  (throw 'simple nil)))
            t))
-        (fboundp (intern-soft (concat "eshell/" name))))))
+        (eshell-find-alias-function name))))
 
 (defun eshell-eval-command (command &optional input)
   "Evaluate the given COMMAND iteratively."



reply via email to

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