From: Richard M. Stallman Date: Tue, 28 Mar 1995 16:55:36 +0000 (+0000) Subject: (nntp-request-article): If ID is integer, convert to string. X-Git-Tag: emacs-19.34~4715 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=92a68cc68ffa3d957557d8df35d432c6b1cbf1ae;p=emacs.git (nntp-request-article): If ID is integer, convert to string. --- 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)