emacs-diffs
[Top][All Lists]
Advanced

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

emacs-27 d3d2ea9: MH-E: alter content in mh-display-msg, not mh-show-mod


From: Stephen Gildea
Subject: emacs-27 d3d2ea9: MH-E: alter content in mh-display-msg, not mh-show-mode
Date: Sat, 1 Feb 2020 12:29:01 -0500 (EST)

branch: emacs-27
commit d3d2ea927c19aed1eb74d60066627f13a4bc27d5
Author: Stephen Gildea <address@hidden>
Commit: Stephen Gildea <address@hidden>

    MH-E: alter content in mh-display-msg, not mh-show-mode
    
    * lisp/mh-e/mh-show.el (mh-display-msg, mh-show-mode):  buffer-altering
    code formerly in mh-show-mode is moved to the location in mh-display-msg
    where mh-show-mode used to be called before the fix to MH-E bug #470
    moved the call earlier.
---
 lisp/mh-e/mh-show.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/mh-e/mh-show.el b/lisp/mh-e/mh-show.el
index 00f0908..3c07d42 100644
--- a/lisp/mh-e/mh-show.el
+++ b/lisp/mh-e/mh-show.el
@@ -234,6 +234,9 @@ Sets the current buffer to the show buffer."
                (mh-add-missing-mime-version-header)
                (setf (mh-buffer-data) (mh-make-buffer-data))
                (mh-mime-display))
+             (mh-show-unquote-From)
+             (mh-show-xface)
+             (mh-show-addr)
              ;; Header cleanup
              (goto-char (point-min))
              (cond (clean-message-header
@@ -840,9 +843,6 @@ See also `mh-folder-mode'.
     (mh-tool-bar-init :show))
   (set (make-local-variable 'mail-header-separator) mh-mail-header-separator)
   (setq paragraph-start (default-value 'paragraph-start))
-  (mh-show-unquote-From)
-  (mh-show-xface)
-  (mh-show-addr)
   (setq buffer-invisibility-spec '((vanish . t) t))
   (set (make-local-variable 'line-move-ignore-invisible) t)
   (make-local-variable 'font-lock-defaults)



reply via email to

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