LemonBreezes / emacs-fish-completion

Fish completion for Emacs and Eshell
GNU General Public License v3.0
15 stars 1 forks source link

Fix issue when there are no candidates #1

Closed JasZhe closed 5 months ago

JasZhe commented 5 months ago

I was getting a lot of (wrong-type-argument stringp nil) when trying to complete on say "find-file" in eshell using doom. I think this error was preventing the default pcomplete completions from running. Adding this simple clause seemed to fix the issue for me.

LemonBreezes commented 5 months ago

This change makes sense to me. Hopefully this reduces those random errors I have not looked into yet. Thank you!