From: Ruthra Kumar Date: Mon, 16 Nov 2020 22:04:36 +0000 (+0100) Subject: Use 'eshell-find-alias-function' instead of fboundp X-Git-Tag: emacs-28.0.90~5132 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7ab6213886c72ac7a04a20b114a4f810c6484168;p=emacs.git 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). --- diff --git a/lisp/eshell/esh-cmd.el b/lisp/eshell/esh-cmd.el index f1cf9336899..68b34837a23 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."