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:
parent
37d40ae917
commit
92a68cc68f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user