summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-08-18 11:25:05 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-08-18 11:25:05 +0200
commite6e59a349b5436a51a3f00caa33dfdfaaf424455 (patch)
tree27ab92306977584183a52ee3753c5b31814a0a85
parent128b04fca08f791a4eba64e8c1fe3429df7e822f (diff)
downloademacs-e6e59a349b5436a51a3f00caa33dfdfaaf424455.tar.gz
Remove come compat code from rmailedit.el
* lisp/mail/rmailedit.el (rmail-edit-mode): Remove check for mode-line-modified, which is always defined.
-rw-r--r--lisp/mail/rmailedit.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/mail/rmailedit.el b/lisp/mail/rmailedit.el
index ba6ebad082c..3026283a082 100644
--- a/lisp/mail/rmailedit.el
+++ b/lisp/mail/rmailedit.el
@@ -63,9 +63,7 @@ This function runs the hooks `text-mode-hook' and `rmail-edit-mode-hook'.
(use-local-map rmail-edit-map)
(setq major-mode 'rmail-edit-mode)
(setq mode-name "RMAIL Edit")
- (if (boundp 'mode-line-modified)
- (setq mode-line-modified (default-value 'mode-line-modified))
- (setq mode-line-format (default-value 'mode-line-format)))
+ (setq mode-line-modified (default-value 'mode-line-modified))
;; Don't turn off auto-saving based on the size of the buffer
;; because that code does not understand buffer-swapping.
(make-local-variable 'auto-save-include-big-deletions)