diff lisp/calc/calc-ext.el @ 105478:e3187820f169

Use window-full-height-p.
author Glenn Morris <rgm@gnu.org>
date Tue, 06 Oct 2009 02:42:29 +0000
parents 14b421290b2f
children 2c12fbae77c2
line wrap: on
line diff
--- a/lisp/calc/calc-ext.el	Tue Oct 06 02:37:22 2009 +0000
+++ b/lisp/calc/calc-ext.el	Tue Oct 06 02:42:29 2009 +0000
@@ -1343,7 +1343,7 @@
        ;; take up the whole height of the frame.
        (if (and
             win
-            (< (window-height win) (1- (frame-height))))
+	    (not (window-full-height-p)))
            (let ((height (- (window-height win) 2)))
              (set-window-point win (point))
              (or (= height calc-window-height)