From 53aaad1dfc1f9e0ffe7ee457967426584cd7f541 Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Fri, 27 Oct 2017 01:14:17 +0000 Subject: [PATCH] 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). --- lisp/gnus/gnus-group.el | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2