From 1529dcaaf57fc8a7ba3681931bb03cfad222fac6 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 11 May 2020 05:32:51 -0400 Subject: [PATCH] Fix #3007: wrong-type-arg stringp on eshell completion --- modules/term/eshell/config.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/term/eshell/config.el b/modules/term/eshell/config.el index 217fa6ff4..595b17248 100644 --- a/modules/term/eshell/config.el +++ b/modules/term/eshell/config.el @@ -181,5 +181,5 @@ You should use `set-eshell-alias!' to change this.") ;; installed for bash completion to work. How frustrating. This way we ;; can at least get bash completion whether or not fish is present. (defadvice! +eshell--fallback-to-bash-a (&rest _) - :before-while #'fish-completion--list-completions-with-desc - (executable-find "fish"))) + :before-until #'fish-completion--list-completions-with-desc + (unless (executable-find "fish") "")))