emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/git-commit b4cba3169f: magit-completing-read-multiple: No


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit b4cba3169f: magit-completing-read-multiple: No longer use crm-default-separator
Date: Wed, 10 Aug 2022 06:58:32 -0400 (EDT)

branch: elpa/git-commit
commit b4cba3169f7c0376b47952869754137754086113
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    magit-completing-read-multiple: No longer use crm-default-separator
    
    That is deprecated in Emacs 29 and was already scheduled for
    deprecation before that.  `crm-separator's value is the same.
---
 lisp/magit-base.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lisp/magit-base.el b/lisp/magit-base.el
index 25a4b614ef..0a9ab29d56 100644
--- a/lisp/magit-base.el
+++ b/lisp/magit-base.el
@@ -597,14 +597,14 @@ Set up the `crm' variables needed to read multiple values 
with
 `read-from-minibuffer'.
 
 SEP is a regexp matching characters that can separate choices.
-When SEP is nil, it defaults to `crm-default-separator'.
-DEFAULT, HIST, and KEYMAP are passed to `read-from-minibuffer'.
-When KEYMAP is nil, it defaults to `crm-local-completion-map'.
+When SEP is nil, it defaults to `crm-separator'.  DEFAULT, HIST,
+and KEYMAP are passed to `read-from-minibuffer'.  When KEYMAP is
+nil, it defaults to `crm-local-completion-map'.
 
 Unlike `completing-read-multiple', the return value is not split
 into a list."
   (declare (obsolete magit-completing-read-multiple* "Magit 3.1.0"))
-  (let* ((crm-separator (or sep crm-default-separator))
+  (let* ((crm-separator (or sep crm-separator))
          (crm-completion-table (magit--completion-table choices))
          (choose-completion-string-functions
           '(crm--choose-completion-string))



reply via email to

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