Mercurial > hg > xemacs-beta
diff lisp/vm/vm-page.el @ 155:43dd3413c7c7 r20-3b4
Import from CVS: tag r20-3b4
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:39:39 +0200 |
parents | cca96a509cfe |
children | 2d532a89d707 |
line wrap: on
line diff
--- a/lisp/vm/vm-page.el Mon Aug 13 09:38:27 2007 +0200 +++ b/lisp/vm/vm-page.el Mon Aug 13 09:39:39 2007 +0200 @@ -25,11 +25,18 @@ Prefix argument N means scroll forward N lines." (interactive "P") (let ((mp-changed (vm-follow-summary-cursor)) + needs-decoding (was-invisible nil)) (vm-select-folder-buffer) (vm-check-for-killed-summary) (vm-check-for-killed-presentation) (vm-error-if-folder-empty) + (setq needs-decoding (and vm-display-using-mime + (not vm-mime-decoded) + (not (vm-mime-plain-message-p + (car vm-message-pointer))) + vm-auto-decode-mime-messages + (eq vm-system-state 'previewing))) (and vm-presentation-buffer (set-buffer vm-presentation-buffer)) (let ((point (point)) @@ -46,7 +53,7 @@ (if (= (window-start w) (point-max)) (set-window-start w (point-min))) (setq was-invisible t)))) - (if (or mp-changed was-invisible + (if (or mp-changed was-invisible needs-decoding (and (eq vm-system-state 'previewing) (pos-visible-in-window-p (point-max) @@ -488,7 +495,6 @@ ;; display xfaces, if we can (if (and vm-display-xfaces vm-xemacs-p - (vm-multiple-frames-possible-p) (featurep 'xface)) (save-restriction (widen)