From 7ab6213886c72ac7a04a20b114a4f810c6484168 Mon Sep 17 00:00:00 2001 From: Ruthra Kumar Date: Mon, 16 Nov 2020 23:04:36 +0100 Subject: [PATCH] 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 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." -- 2.39.5