]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove come compat code from rmailedit.el
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 18 Aug 2020 09:25:05 +0000 (11:25 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 18 Aug 2020 09:25:05 +0000 (11:25 +0200)
* lisp/mail/rmailedit.el (rmail-edit-mode): Remove check for
mode-line-modified, which is always defined.

lisp/mail/rmailedit.el

index ba6ebad082c4fc11ea05e54ca1016a399501be37..3026283a08254785387cf5ab085e925f25f63a4e 100644 (file)
@@ -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)