diff options
| author | Pavel Janík | 2001-12-25 11:18:39 +0000 |
|---|---|---|
| committer | Pavel Janík | 2001-12-25 11:18:39 +0000 |
| commit | ec5b8815a991f2a5d7d7feb9ef1f28bb7f171287 (patch) | |
| tree | 42d4ef586742e0f94c546c4b7a69b69cfb51824a | |
| parent | 2cb48ea3ff0f4aab56ba879fa33ec89e8e70d210 (diff) | |
| download | emacs-ec5b8815a991f2a5d7d7feb9ef1f28bb7f171287.tar.gz emacs-ec5b8815a991f2a5d7d7feb9ef1f28bb7f171287.zip | |
(mh-show-msg): Likewise.
(mh-handle-process-error): Use frame-width instead of obsolete
screen-width.
| -rw-r--r-- | lisp/mail/mh-utils.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mail/mh-utils.el b/lisp/mail/mh-utils.el index 9e079656c40..12a078ea9b0 100644 --- a/lisp/mail/mh-utils.el +++ b/lisp/mail/mh-utils.el | |||
| @@ -301,7 +301,7 @@ Type \"\\[mh-header-display]\" to see the message with all its headers." | |||
| 301 | (if (not clean-message-header) | 301 | (if (not clean-message-header) |
| 302 | (mh-start-of-uncleaned-message))) | 302 | (mh-start-of-uncleaned-message))) |
| 303 | (mh-display-msg msg folder)))) | 303 | (mh-display-msg msg folder)))) |
| 304 | (if (not (= (1+ (window-height)) (screen-height))) ;not horizontally split | 304 | (if (not (= (1+ (window-height)) (frame-height))) ;not horizontally split |
| 305 | (shrink-window (- (window-height) mh-summary-height))) | 305 | (shrink-window (- (window-height) mh-summary-height))) |
| 306 | (mh-recenter nil) | 306 | (mh-recenter nil) |
| 307 | (if (not (memq msg mh-seen-list)) (setq mh-seen-list (cons msg mh-seen-list))) | 307 | (if (not (memq msg mh-seen-list)) (setq mh-seen-list (cons msg mh-seen-list))) |
| @@ -970,7 +970,7 @@ directory names." | |||
| 970 | (t | 970 | (t |
| 971 | ;; will error message fit on one line? | 971 | ;; will error message fit on one line? |
| 972 | (goto-line 2) | 972 | (goto-line 2) |
| 973 | (if (and (< (buffer-size) (screen-width)) | 973 | (if (and (< (buffer-size) (frame-width)) |
| 974 | (eobp)) | 974 | (eobp)) |
| 975 | (error "%s" | 975 | (error "%s" |
| 976 | (buffer-substring 1 (progn (goto-char 1) | 976 | (buffer-substring 1 (progn (goto-char 1) |