summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-group.el
diff options
context:
space:
mode:
authorKatsumi Yamaoka <yamaoka@jpl.org>2017-10-27 01:14:17 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2017-10-27 01:14:17 +0000
commit53aaad1dfc1f9e0ffe7ee457967426584cd7f541 (patch)
tree52b1b83f70cf65ceb15a0f3e21e05e03d5059259 /lisp/gnus/gnus-group.el
parent7b29db222f744d97c480ba9573cdc6900a727db6 (diff)
downloademacs-53aaad1dfc1f9e0ffe7ee457967426584cd7f541.tar.gz
Make an example code introduced in the Gnus info work (bug#29008)
You can find it in the bottom of (info "(gnus)Foreign Groups"). NOTE: this change is worth being merged to the trunk. * lisp/gnus/gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Allow a string for bug# (bug#29008).
Diffstat (limited to 'lisp/gnus/gnus-group.el')
-rw-r--r--lisp/gnus/gnus-group.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
index 56d42b41a82..996e8266105 100644
--- a/lisp/gnus/gnus-group.el
+++ b/lisp/gnus/gnus-group.el
@@ -2517,6 +2517,8 @@ the bug number, and browsing the URL must return mbox output."
(interactive (list (string-to-number
(read-string "Enter bug number: "
(thing-at-point 'word) nil))))
+ (when (stringp ids)
+ (setq ids (string-to-number ids)))
(unless (listp ids)
(setq ids (list ids)))
(gnus-read-ephemeral-bug-group