radian-software / selectrum

🔔 Better solution for incremental narrowing in Emacs.
MIT License
739 stars 33 forks source link

(error "No buffer named *selectrum*") when there are no completions #571

Closed TikhonJelvis closed 2 years ago

TikhonJelvis commented 3 years ago

I have Selectrum set up to use posframe by setting selectrum-display-action. This works great normally, but I get an error in the minibuffer when there are no completions (for example if I use open-file in an empty directory).

Error in post-command-hook (selectrum--update): (error "No buffer named  *selectrum*")

This is pretty annoying because then Selectrum doesn't work if I navigate to other directories to find the file I want to open.

Screenshot of the problem:

Screen Shot 2021-09-22 at 11 50 49 AM