muffinmad / emacs-mini-frame

Show minibuffer in child frame on read-from-minibuffer
GNU General Public License v3.0
321 stars 20 forks source link

Disable mini-frame for all one-line minibufers #75

Closed zhenhua-wang closed 1 year ago

zhenhua-wang commented 1 year ago

Hi, is it possible to disable mini-frame for all one-line minibufers? (for example, y-or-n-p). I know that we can add y-or-n-p to mini-frame-ignore-functions. However, I would like to have this behavior for all future one-line minibuffers. Thank you.

muffinmad commented 1 year ago

Hi!

Take a look at mini-frame-advice-functions option. Set it to completing-read and mini-buffer will be used only when reading from minibuffer with completions.