diff options
| author | Lars Ingebrigtsen | 2016-02-11 16:59:06 +1100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-11 16:59:06 +1100 |
| commit | ae928ae2397a58a75584aaa0037a3dc383473756 (patch) | |
| tree | 005d265c55a762e0dd29dd1feae358a5c0fd9d09 | |
| parent | 7d17d4ba235d44c38e528d4fb7c75071c62ca736 (diff) | |
| download | emacs-ae928ae2397a58a75584aaa0037a3dc383473756.tar.gz emacs-ae928ae2397a58a75584aaa0037a3dc383473756.zip | |
Remove som XEmacs compat code from message.el
* lisp/gnus/message.el: Remove some XEmacs compat code.
| -rw-r--r-- | lisp/gnus/mailcap.el | 6 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 10 |
2 files changed, 2 insertions, 14 deletions
diff --git a/lisp/gnus/mailcap.el b/lisp/gnus/mailcap.el index 85d0411a1e3..62d8b9be391 100644 --- a/lisp/gnus/mailcap.el +++ b/lisp/gnus/mailcap.el | |||
| @@ -53,12 +53,6 @@ | |||
| 53 | table) | 53 | table) |
| 54 | "A syntax table for parsing SGML attributes.") | 54 | "A syntax table for parsing SGML attributes.") |
| 55 | 55 | ||
| 56 | (eval-and-compile | ||
| 57 | (when (featurep 'xemacs) | ||
| 58 | (condition-case nil | ||
| 59 | (require 'lpr) | ||
| 60 | (error nil)))) | ||
| 61 | |||
| 62 | (defvar mailcap-print-command | 56 | (defvar mailcap-print-command |
| 63 | (mapconcat 'identity | 57 | (mapconcat 'identity |
| 64 | (cons (if (boundp 'lpr-command) | 58 | (cons (if (boundp 'lpr-command) |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 3ed359b123b..fee79379385 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -40,9 +40,7 @@ | |||
| 40 | ;; This is apparently necessary even though things are autoloaded. | 40 | ;; This is apparently necessary even though things are autoloaded. |
| 41 | ;; Because we dynamically bind mail-abbrev-mode-regexp, we'd better | 41 | ;; Because we dynamically bind mail-abbrev-mode-regexp, we'd better |
| 42 | ;; require mailabbrev here. | 42 | ;; require mailabbrev here. |
| 43 | (if (featurep 'xemacs) | 43 | (require 'mailabbrev) |
| 44 | (require 'mail-abbrevs) | ||
| 45 | (require 'mailabbrev)) | ||
| 46 | (require 'mail-parse) | 44 | (require 'mail-parse) |
| 47 | (require 'mml) | 45 | (require 'mml) |
| 48 | (require 'rfc822) | 46 | (require 'rfc822) |
| @@ -1249,11 +1247,7 @@ called and its result is inserted." | |||
| 1249 | (if (and (boundp 'mail-archive-file-name) | 1247 | (if (and (boundp 'mail-archive-file-name) |
| 1250 | (stringp mail-archive-file-name)) | 1248 | (stringp mail-archive-file-name)) |
| 1251 | (format "FCC: %s\n" mail-archive-file-name)) | 1249 | (format "FCC: %s\n" mail-archive-file-name)) |
| 1252 | ;; Use the value of `mail-default-headers' if available. | 1250 | mail-default-headers) |
| 1253 | ;; Note: as for XEmacs 21.4 and 21.5, it is unavailable | ||
| 1254 | ;; unless sendmail.el is loaded. | ||
| 1255 | (if (boundp 'mail-default-headers) | ||
| 1256 | mail-default-headers)) | ||
| 1257 | "*A string of header lines to be inserted in outgoing mails." | 1251 | "*A string of header lines to be inserted in outgoing mails." |
| 1258 | :version "23.2" | 1252 | :version "23.2" |
| 1259 | :group 'message-headers | 1253 | :group 'message-headers |