(nntp-request-article): If ID is integer, convert to string.
authorRichard M. Stallman <rms@gnu.org>
Tue, 28 Mar 1995 16:55:36 +0000 (16:55 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 28 Mar 1995 16:55:36 +0000 (16:55 +0000)
lisp/nntp.el

index db4d9cf..1c3f070 100644 (file)
@@ -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)