Mercurial > emacs
comparison lisp/gnus/gnus-util.el @ 108192:27c366fe4d1f
Merge from mainline.
author | Katsumi Yamaoka <yamaoka@jpl.org> |
---|---|
date | Tue, 27 Apr 2010 06:45:13 +0000 |
parents | aacd4ee6c3af |
children | 234c5347118d |
comparison
equal
deleted
inserted
replaced
108191:d1f2942e6652 | 108192:27c366fe4d1f |
---|---|
1068 | 1068 |
1069 | 1069 |
1070 ;;; Functions for saving to babyl/mail files. | 1070 ;;; Functions for saving to babyl/mail files. |
1071 | 1071 |
1072 (eval-when-compile | 1072 (eval-when-compile |
1073 (condition-case nil | 1073 (if (featurep 'xemacs) |
1074 (progn | 1074 ;; Don't load tm and apel XEmacs packages that provide some |
1075 (require 'rmail) | 1075 ;; Emacs emulating functions and variables. |
1076 (autoload 'rmail-update-summary "rmailsum")) | 1076 (let ((features features)) |
1077 (error | 1077 (provide 'tm-view) |
1078 (define-compiler-macro rmail-select-summary (&rest body) | 1078 (unless (fboundp 'set-alist) (defalias 'set-alist 'ignore)) |
1079 ;; Rmail of the XEmacs version is supplied by the package, and | 1079 (require 'rmail)) ;; It requires tm-view that loads apel. |
1080 ;; requires tm and apel packages. However, there may be those | 1080 (require 'rmail)) |
1081 ;; who haven't installed those packages. This macro helps such | 1081 (autoload 'rmail-update-summary "rmailsum")) |
1082 ;; people even if they install those packages later. | |
1083 `(eval '(rmail-select-summary ,@body))) | |
1084 ;; If there's rmail but there's no tm (or there's apel of the | |
1085 ;; mainstream, not the XEmacs version), loading rmail of the XEmacs | |
1086 ;; version fails halfway, however it provides the rmail-select-summary | |
1087 ;; macro which uses the following functions: | |
1088 (autoload 'rmail-summary-displayed "rmail") | |
1089 (autoload 'rmail-maybe-display-summary "rmail")))) | |
1090 | 1082 |
1091 (defvar mm-text-coding-system) | 1083 (defvar mm-text-coding-system) |
1092 | 1084 |
1093 (declare-function mm-append-to-file "mm-util" | 1085 (declare-function mm-append-to-file "mm-util" |
1094 (start end filename &optional codesys inhibit)) | 1086 (start end filename &optional codesys inhibit)) |