Commit 0c450e09 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Tweak bug ID prompting in gnus-group--read-bug-ids

* lisp/gnus/gnus-group.el (gnus-group--read-bug-ids): Default to
current bug id on RET.
parent a7aae147
Pipeline #2432 failed with stage
......@@ -2446,7 +2446,10 @@ the bug number, and browsing the URL must return mbox output."
;; Pass DEF as the value of COLLECTION instead of DEF because:
;; a) null input should not cause DEF to be returned and
;; b) TAB and M-n still work this way.
(completing-read-multiple "Bug IDs: " (and def (list (format "%s" def))))))
(or (completing-read-multiple
(format "Bug IDs%s: " (if def (format " (default %s)" def) ""))
(and def (list (format "%s" def))))
def)))
(defun gnus-read-ephemeral-bug-group (ids mbox-url &optional window-conf)
"Browse bug reports with IDS in an ephemeral group.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment