From 92a68cc68ffa3d957557d8df35d432c6b1cbf1ae Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 28 Mar 1995 16:55:36 +0000 Subject: [PATCH] (nntp-request-article): If ID is integer, convert to string. --- lisp/nntp.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/nntp.el b/lisp/nntp.el index db4d9cfdeae..1c3f0705f44 100644 --- a/lisp/nntp.el +++ b/lisp/nntp.el @@ -389,6 +389,8 @@ If the stream is opened, return T, otherwise return NIL." (defun nntp-request-article (id) "Select article by message ID (or number)." + (if (numberp id) + (setq id (number-to-string id))) (prog1 ;; If NEmacs, end of message may look like: "\256\215" (".^M") (nntp-send-command "^\\.\r$" "ARTICLE" id) -- 2.39.5