aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mh-e
diff options
context:
space:
mode:
authorGlenn Morris2009-10-06 02:42:29 +0000
committerGlenn Morris2009-10-06 02:42:29 +0000
commiteaf9b5643db7dcfcfb3a324f225e19fb14979237 (patch)
treea1e25de51008d446ec9de5c745efb5373da46c72 /lisp/mh-e
parent25ab03020175918134bf9ba7f63c5e00750baa84 (diff)
downloademacs-eaf9b5643db7dcfcfb3a324f225e19fb14979237.tar.gz
emacs-eaf9b5643db7dcfcfb3a324f225e19fb14979237.zip
Use window-full-height-p.
Diffstat (limited to 'lisp/mh-e')
-rw-r--r--lisp/mh-e/ChangeLog4
-rw-r--r--lisp/mh-e/mh-show.el8
2 files changed, 9 insertions, 3 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 585cc0a86c6..3102f74f506 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,7 @@
12009-10-06 Glenn Morris <rgm@gnu.org>
2
3 * mh-show.el (mh-show-msg): Use window-full-height-p.
4
12009-08-28 Stefan Monnier <monnier@iro.umontreal.ca> 52009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * mh-comp.el (mh-send-letter): default-buffer-file-coding-system 7 * mh-comp.el (mh-send-letter): default-buffer-file-coding-system
diff --git a/lisp/mh-e/mh-show.el b/lisp/mh-e/mh-show.el
index 70852f0bb05..ba972fc5b62 100644
--- a/lisp/mh-e/mh-show.el
+++ b/lisp/mh-e/mh-show.el
@@ -148,9 +148,11 @@ displayed."
148 (if (not clean-message-header) 148 (if (not clean-message-header)
149 (mh-start-of-uncleaned-message))) 149 (mh-start-of-uncleaned-message)))
150 (mh-display-msg msg folder))) 150 (mh-display-msg msg folder)))
151 (if (not (= (1+ (window-height)) (frame-height))) ;not horizontally split 151 (unless (if (fbound 'window-full-height-p)
152 (shrink-window (- (window-height) (or mh-summary-height 152 (window-full-height-p)
153 (mh-summary-height))))) 153 (= (1+ (window-height)) (frame-height))) ; not vertically split
154 (shrink-window (- (window-height) (or mh-summary-height
155 (mh-summary-height)))))
154 (mh-recenter nil) 156 (mh-recenter nil)
155 ;; The following line is a nop which forces update of the scan line so 157 ;; The following line is a nop which forces update of the scan line so
156 ;; that font-lock will update it (if needed)... 158 ;; that font-lock will update it (if needed)...