emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master e6e59a3 2/4: Remove come compat code from rmailedit.el


From: Lars Ingebrigtsen
Subject: master e6e59a3 2/4: Remove come compat code from rmailedit.el
Date: Tue, 18 Aug 2020 05:36:00 -0400 (EDT)

branch: master
commit e6e59a349b5436a51a3f00caa33dfdfaaf424455
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Remove come compat code from rmailedit.el
    
    * lisp/mail/rmailedit.el (rmail-edit-mode): Remove check for
    mode-line-modified, which is always defined.
---
 lisp/mail/rmailedit.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lisp/mail/rmailedit.el b/lisp/mail/rmailedit.el
index ba6ebad..3026283 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]