diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-12-07 14:34:29 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-12-07 14:44:34 +0100 |
commit | c94b81bfc1877e4e7057c66cb73bd0942e9fd218 (patch) | |
tree | 6daede7231084546549b88811137c12f71b5b43e /lisp/mail | |
parent | db56e32d1241a6573cb7b688362669abec28e648 (diff) | |
download | emacs-c94b81bfc1877e4e7057c66cb73bd0942e9fd218.tar.gz emacs-c94b81bfc1877e4e7057c66cb73bd0942e9fd218.tar.bz2 emacs-c94b81bfc1877e4e7057c66cb73bd0942e9fd218.zip |
Remove some unnecessary references to Emacs 22
* lisp/cedet/semantic/fw.el:
* lisp/emacs-lisp/bytecomp.el (byte-compile-from-buffer):
* lisp/emulation/viper-util.el (viper-frame-value):
* lisp/mail/rmail.el (rmail-delete-headers):
* lisp/mh-e/mh-e.el (mh-inc-spool-list): Remove some unnecessary
references to Emacs 22.
Diffstat (limited to 'lisp/mail')
-rw-r--r-- | lisp/mail/rmail.el | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 9fbc9ba180f..afcb7f39bf2 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -4125,10 +4125,8 @@ typically for purposes of moderating a list." "A regexp that matches the separator before the text of a failed message.") (defvar mail-mime-unsent-header "^Content-Type: message/rfc822 *$" - "A regexp that matches the header of a MIME body part with a failed message.") + "A regexp that matches the header of a MIME body part with a failed message.") -;; This is a cut-down version of rmail-clear-headers from Emacs 22. -;; It doesn't have the same functionality, hence the name change. (defun rmail-delete-headers (regexp) "Delete any mail headers matching REGEXP. The message should be narrowed to just the headers." @@ -4136,10 +4134,6 @@ The message should be narrowed to just the headers." (goto-char (point-min)) (while (re-search-forward regexp nil t) (beginning-of-line) - ;; This code from Emacs 22 doesn't seem right, since r-n-h is - ;; just for display. -;;; (if (looking-at rmail-nonignored-headers) -;;; (forward-line 1) (delete-region (point) (save-excursion (if (re-search-forward "\n[^ \t]" nil t) |