summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/nntp.el2
1 files changed, 2 insertions, 0 deletions
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)