emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-30 341e5795d5d: Support minibuffer-visible-completions in completi


From: Juri Linkov
Subject: emacs-30 341e5795d5d: Support minibuffer-visible-completions in completing-read-multiple
Date: Wed, 7 Aug 2024 12:54:03 -0400 (EDT)

branch: emacs-30
commit 341e5795d5dbd49db330dda68c8d6040cc07ed63
Author: Spencer Baugh <sbaugh@janestreet.com>
Commit: Juri Linkov <juri@linkov.net>

    Support minibuffer-visible-completions in completing-read-multiple
    
    All that's required is to add minibuffer-visible-completions-map on
    top of the completing-read-multiple map; this is the same thing that
    minibuffer-visible-completions does in completing-read-default.
    
    * lisp/emacs-lisp/crm.el (completing-read-multiple): Add
    minibuffer-visible-completions-map (bug#69189)
---
 lisp/emacs-lisp/crm.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lisp/emacs-lisp/crm.el b/lisp/emacs-lisp/crm.el
index 253dfc6237a..422a8d52dcf 100644
--- a/lisp/emacs-lisp/crm.el
+++ b/lisp/emacs-lisp/crm.el
@@ -238,6 +238,11 @@ with empty strings removed."
   (let* ((map (if require-match
                   crm-local-must-match-map
                 crm-local-completion-map))
+         (map (if minibuffer-visible-completions
+                  (make-composed-keymap
+                   (list minibuffer-visible-completions-map
+                         map))
+                map))
          input)
     (minibuffer-with-setup-hook
         (lambda ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]