Mercurial > emacs
changeset 78464:7819402a9963
Use window-full-width-p instead of comparing frame-width and
window-width.
author | Martin Rudalics <rudalics@gmx.at> |
---|---|
date | Wed, 08 Aug 2007 05:51:36 +0000 |
parents | ad7b04a38ce4 |
children | b8c25f200566 |
files | lisp/calendar/calendar.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/calendar/calendar.el Wed Aug 08 05:49:21 2007 +0000 +++ b/lisp/calendar/calendar.el Wed Aug 08 05:51:36 2007 +0000 @@ -2078,7 +2078,7 @@ ;; Don't do any window-related stuff if we weren't called from a ;; window displaying the calendar (when in-calendar-window - (if (or (one-window-p t) (/= (frame-width) (window-width))) + (if (or (one-window-p t) (not (window-full-width-p))) ;; Don't mess with the window size, but ensure that the first ;; line is fully visible (set-window-vscroll nil 0)