1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00

(nntp-request-article): If ID is integer, convert to string.

This commit is contained in:
Richard M. Stallman 1995-03-28 16:55:36 +00:00
parent 37d40ae917
commit 92a68cc68f

View 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)