1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

Remove duplicate information from some completing-read-multiple prompts

* lisp/info.el (info-finder):
* lisp/emacs-lisp/package.el (package-isolate)
(package-menu-filter-by-archive, package-menu-filter-by-keyword):
Remove mentions of comma separator from the prompts
since now 'completing-read-multiple' shows this information
by the default format (bug#76028).
This commit is contained in:
Juri Linkov 2025-02-20 19:37:07 +02:00
parent afd088bd60
commit 57c1df8bae
2 changed files with 4 additions and 4 deletions

View file

@ -2665,7 +2665,7 @@ in a clean environment."
(list
(cl-loop for c in
(completing-read-multiple
"Packages to isolate, as comma-separated list: " table
"Packages to isolate: " table
nil t)
collect (alist-get c table nil nil #'string=))
current-prefix-arg)))
@ -4289,7 +4289,7 @@ string, show all packages.
When called interactively, prompt for ARCHIVE. To specify
several archives, type their names separated by commas."
(interactive (list (completing-read-multiple
"Filter by archive (comma separated): "
"Filter by archive: "
(mapcar #'car package-archives)))
package-menu-mode)
(package--ensure-package-menu-mode)
@ -4333,7 +4333,7 @@ or \"built-in\" or \"obsolete\".
When called interactively, prompt for KEYWORD. To specify several
keywords, type them separated by commas."
(interactive (list (completing-read-multiple
"Keywords (comma separated): "
"Keywords: "
(package-all-keywords)))
package-menu-mode)
(package--ensure-package-menu-mode)

View file

@ -3987,7 +3987,7 @@ with a list of packages that contain all specified keywords."
(require 'finder)
(list
(completing-read-multiple
"Keywords (separated by comma): "
"Keywords: "
(mapcar #'symbol-name (mapcar #'car (append finder-known-keywords
(finder-unknown-keywords))))
nil t))))