From: Katsumi Yamaoka Date: Fri, 27 Oct 2017 01:14:17 +0000 (+0000) Subject: Make an example code introduced in the Gnus info work (bug#29008) X-Git-Tag: emacs-26.0.91~462 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=53aaad1dfc;p=emacs.git 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). --- 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