mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(nntp-request-article): If ID is integer, convert to string.
This commit is contained in:
parent
37d40ae917
commit
92a68cc68f
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue