diff options
| author | Glenn Morris | 2009-02-07 22:41:04 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-02-07 22:41:04 +0000 |
| commit | c07dfdd98cc935b55ecebdfdd24fe542c52446b0 (patch) | |
| tree | 0cf27f5c386a459045d31858da2d74b0e4bfa6f1 | |
| parent | 035426050bde263da68512c1b9cc196f5a4efc66 (diff) | |
| download | emacs-c07dfdd98cc935b55ecebdfdd24fe542c52446b0.tar.gz emacs-c07dfdd98cc935b55ecebdfdd24fe542c52446b0.zip | |
(rmail-msg-restore-non-pruned-header): Remove unneeded autoload of
function that no longer exists.
(rmail-toggle-header): Declare.
(message-forward-rmail-make-body): Handle mbox Rmail.
| -rw-r--r-- | lisp/gnus/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 8 |
2 files changed, 13 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 4f244d71522..37345b48ca2 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2009-02-07 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * message.el (rmail-msg-restore-non-pruned-header): Remove unneeded | ||
| 4 | autoload of function that no longer exists. | ||
| 5 | (rmail-toggle-header): Declare. | ||
| 6 | (message-forward-rmail-make-body): Handle mbox Rmail. | ||
| 7 | |||
| 1 | 2009-01-31 Glenn Morris <rgm@gnu.org> | 8 | 2009-01-31 Glenn Morris <rgm@gnu.org> |
| 2 | 9 | ||
| 3 | * gnus-sum.el (gnus-summary-next-article): XEmacs-friendly version of | 10 | * gnus-sum.el (gnus-summary-next-article): XEmacs-friendly version of |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index ee711628080..21b680e3396 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -1824,7 +1824,6 @@ You must have the \"hashcash\" binary installed, see `hashcash-path'." | |||
| 1824 | (autoload 'nnvirtual-find-group-art "nnvirtual") | 1824 | (autoload 'nnvirtual-find-group-art "nnvirtual") |
| 1825 | (autoload 'rmail-dont-reply-to "mail-utils") | 1825 | (autoload 'rmail-dont-reply-to "mail-utils") |
| 1826 | (autoload 'rmail-msg-is-pruned "rmail") | 1826 | (autoload 'rmail-msg-is-pruned "rmail") |
| 1827 | (autoload 'rmail-msg-restore-non-pruned-header "rmail") | ||
| 1828 | (autoload 'rmail-output "rmailout") | 1827 | (autoload 'rmail-output "rmailout") |
| 1829 | 1828 | ||
| 1830 | 1829 | ||
| @@ -5222,6 +5221,7 @@ Otherwise, generate and save a value for `canlock-password' first." | |||
| 5222 | (if (and message-fcc-handler-function | 5221 | (if (and message-fcc-handler-function |
| 5223 | (not (eq message-fcc-handler-function 'rmail-output))) | 5222 | (not (eq message-fcc-handler-function 'rmail-output))) |
| 5224 | (funcall message-fcc-handler-function file) | 5223 | (funcall message-fcc-handler-function file) |
| 5224 | ;; FIXME broken in Emacs CVS? Does it work in 22? | ||
| 5225 | (if (and (file-readable-p file) (mail-file-babyl-p file)) | 5225 | (if (and (file-readable-p file) (mail-file-babyl-p file)) |
| 5226 | (rmail-output file 1 nil t) | 5226 | (rmail-output file 1 nil t) |
| 5227 | (let ((mail-use-rfc822 t)) | 5227 | (let ((mail-use-rfc822 t)) |
| @@ -7232,12 +7232,16 @@ is for the internal use." | |||
| 7232 | (message-forward-make-body-plain forward-buffer))) | 7232 | (message-forward-make-body-plain forward-buffer))) |
| 7233 | (message-position-point)) | 7233 | (message-position-point)) |
| 7234 | 7234 | ||
| 7235 | (declare-function rmail-toggle-header "rmail" (&optional arg)) | ||
| 7236 | |||
| 7235 | ;;;###autoload | 7237 | ;;;###autoload |
| 7236 | (defun message-forward-rmail-make-body (forward-buffer) | 7238 | (defun message-forward-rmail-make-body (forward-buffer) |
| 7237 | (save-window-excursion | 7239 | (save-window-excursion |
| 7238 | (set-buffer forward-buffer) | 7240 | (set-buffer forward-buffer) |
| 7239 | (if (rmail-msg-is-pruned) | 7241 | (if (rmail-msg-is-pruned) |
| 7240 | (rmail-msg-restore-non-pruned-header))) | 7242 | (if (fboundp 'rmail-msg-restore-non-pruned-header) |
| 7243 | (rmail-msg-restore-non-pruned-header) ; Emacs 22 | ||
| 7244 | (rmail-toggle-header 0)))) ; Emacs 23 | ||
| 7241 | (message-forward-make-body forward-buffer)) | 7245 | (message-forward-make-body forward-buffer)) |
| 7242 | 7246 | ||
| 7243 | ;; Fixme: Should have defcustom. | 7247 | ;; Fixme: Should have defcustom. |