(gnus-number-of-articles-to-be-saved
(when (eq gnus-prompt-before-saving t)
num))) ; Magic
+ (set-buffer gnus-original-article-buffer)
(set-buffer gnus-article-current-summary)
(funcall gnus-default-article-saver filename)))))
(setq message-post-method
`(lambda (arg)
(gnus-post-method arg ,gnus-newsgroup-name)))
- (setq message-user-agent (gnus-extended-version))
+ (setq message-newsreader (setq message-mailer (gnus-extended-version)))
(message-add-action
`(set-window-configuration ,winconf) 'exit 'postpone 'kill)
(message-add-action
(search-forward "\n\n")
(forward-char -1)
(insert mail-header-separator)
- (setq message-user-agent (gnus-extended-version))
+ (setq message-newsreader (setq message-mailer
+ (gnus-extended-version)))
(cond
((string= (gnus-soup-reply-kind (car replies)) "news")
(gnus-message 5 "Sending news message to %s..."
(defvar message-reply-buffer nil)
(defvar message-reply-headers nil)
+(defvar message-newsreader nil)
+(defvar message-mailer nil)
(defvar message-sent-message-via nil)
(defvar message-checksum nil)
(defvar message-send-actions nil
(setq paragraph-separate paragraph-start)
(make-local-variable 'message-reply-headers)
(setq message-reply-headers nil)
- (make-local-variable 'message-user-agent)
+ (make-local-variable 'message-newsreader)
+ (make-local-variable 'message-mailer)
(make-local-variable 'message-post-method)
(make-local-variable 'message-sent-message-via)
(setq message-sent-message-via nil)