Fix #3007: wrong-type-arg stringp on eshell completion
This commit is contained in:
parent
7cf2109b1a
commit
1529dcaaf5
1 changed files with 2 additions and 2 deletions
|
@ -181,5 +181,5 @@ You should use `set-eshell-alias!' to change this.")
|
||||||
;; installed for bash completion to work. How frustrating. This way we
|
;; installed for bash completion to work. How frustrating. This way we
|
||||||
;; can at least get bash completion whether or not fish is present.
|
;; can at least get bash completion whether or not fish is present.
|
||||||
(defadvice! +eshell--fallback-to-bash-a (&rest _)
|
(defadvice! +eshell--fallback-to-bash-a (&rest _)
|
||||||
:before-while #'fish-completion--list-completions-with-desc
|
:before-until #'fish-completion--list-completions-with-desc
|
||||||
(executable-find "fish")))
|
(unless (executable-find "fish") "")))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue