changeset 11143:a9a40def9903

(nntp-request-article): If ID is integer, convert to string.
author Richard M. Stallman <rms@gnu.org>
date Tue, 28 Mar 1995 16:55:36 +0000
parents 41b869bbe0e1
children c2b689aeb934
files lisp/=nntp.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/=nntp.el	Tue Mar 28 07:38:29 1995 +0000
+++ b/lisp/=nntp.el	Tue Mar 28 16:55:36 1995 +0000
@@ -389,6 +389,8 @@
 
 (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)