Fix minibuffer default of ephemeral debbugs group
* lisp/gnus/gnus-group.el (gnus-group--read-bug-ids): Don't read number in "bug-123" as a negative bug ID; they are always positive.
This commit is contained in:
parent
31abd9a7cf
commit
58d9623795
1 changed files with 2 additions and 1 deletions
|
@ -2411,7 +2411,8 @@ the bug number, and browsing the URL must return mbox output."
|
|||
(require 'bug-reference)
|
||||
(let ((def (cond ((thing-at-point-looking-at bug-reference-bug-regexp 500)
|
||||
(match-string 2))
|
||||
((number-at-point)))))
|
||||
((and (number-at-point)
|
||||
(abs (number-at-point)))))))
|
||||
;; 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.
|
||||
|
|
Loading…
Add table
Reference in a new issue