summaryrefslogtreecommitdiff
path: root/lisp/mh-e/mh-show.el
diff options
context:
space:
mode:
authorStephen Gildea <stepheng+emacs@gildea.com>2020-02-01 09:28:30 -0800
committerStephen Gildea <stepheng+emacs@gildea.com>2020-02-01 09:28:30 -0800
commitd3d2ea927c19aed1eb74d60066627f13a4bc27d5 (patch)
tree14b3584bbe45761596bc41f9f540a268d0456a78 /lisp/mh-e/mh-show.el
parentdb7fa2546fa42a9604614009e02c26df353035cd (diff)
downloademacs-d3d2ea927c19aed1eb74d60066627f13a4bc27d5.tar.gz
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.
Diffstat (limited to 'lisp/mh-e/mh-show.el')
-rw-r--r--lisp/mh-e/mh-show.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mh-e/mh-show.el b/lisp/mh-e/mh-show.el
index 00f0908f99a..3c07d426b7d 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)