From: Jimmy Aguilar Mena Date: Sun, 13 Mar 2022 15:04:58 +0000 (+0100) Subject: Make minibuffer-hide-completions interactive. X-Git-Tag: emacs-29.0.90~1931^2~1002^2~15 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=49d1fe522215d64639f62b4737c3e45f75f94eab;p=emacs.git Make minibuffer-hide-completions interactive. Mainly to find a binding for it. --- diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index c8af72667c3..c0281c63430 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -2432,6 +2432,7 @@ variables.") "Get rid of an out-of-date *Completions* buffer." ;; FIXME: We could/should use minibuffer-scroll-window here, but it ;; can also point to the minibuffer-parent-window, so it's a bit tricky. + (interactive) (let ((win (get-buffer-window "*Completions*" 0))) (if win (with-selected-window win (bury-buffer)))))