From: Lars Ingebrigtsen Date: Tue, 18 Aug 2020 09:25:05 +0000 (+0200) Subject: Remove come compat code from rmailedit.el X-Git-Tag: emacs-28.0.90~6571 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e6e59a349b5436a51a3f00caa33dfdfaaf424455;p=emacs.git Remove come compat code from rmailedit.el * lisp/mail/rmailedit.el (rmail-edit-mode): Remove check for mode-line-modified, which is always defined. --- 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)