branch: externals/vertico commit 42823cead1fc15fba6f6d0c7a2101b9f544022da Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
Use read-char-exclusive to avoid error message --- minicomp.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/minicomp.el b/minicomp.el index bf4e846..3771756 100644 --- a/minicomp.el +++ b/minicomp.el @@ -400,7 +400,7 @@ minibuffer-completion-predicate))) (exit-minibuffer)) ((eq minibuffer--require-match 'confirm) - (when (eq (read-char "Confirm") 13) + (when (eq (read-char-exclusive "Confirm") 13) (exit-minibuffer))) (t (message "Match required")))) @@ -452,8 +452,8 @@ metadata) nil))))) (setq minicomp--input t - minicomp--candidates-ov (make-overlay (point-max) (point-max)) - minicomp--count-ov (make-overlay (point-min) (point-min))) + minicomp--candidates-ov (make-overlay (point-max) (point-max) nil t t) + minicomp--count-ov (make-overlay (point-min) (point-min) nil t t)) (use-local-map minicomp-map) (add-hook 'post-command-hook #'minicomp--exhibit -99 'local))