]> git.eshelyaron.com Git - emacs.git/commitdiff
Make minibuffer-hide-completions interactive.
authorJimmy Aguilar Mena <spacibba@aol.com>
Sun, 13 Mar 2022 15:04:58 +0000 (16:04 +0100)
committerJimmy Aguilar Mena <spacibba@aol.com>
Sun, 13 Mar 2022 15:04:58 +0000 (16:04 +0100)
Mainly to find a binding for it.

lisp/minibuffer.el

index c8af72667c3ba35fecff95de4c7e9f508fc42d35..c0281c634301909fce59ed1ac66a633e2d0045f9 100644 (file)
@@ -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)))))