emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 53aaad1: Make an example code introduced in the G


From: Katsumi Yamaoka
Subject: [Emacs-diffs] emacs-26 53aaad1: Make an example code introduced in the Gnus info work (bug#29008)
Date: Thu, 26 Oct 2017 21:14:44 -0400 (EDT)

branch: emacs-26
commit 53aaad1dfc1f9e0ffe7ee457967426584cd7f541
Author: Katsumi Yamaoka <address@hidden>
Commit: Katsumi Yamaoka <address@hidden>

    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 56d42b4..996e826 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]