diff options
author | Glenn Morris <rgm@gnu.org> | 2009-10-06 02:42:29 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2009-10-06 02:42:29 +0000 |
commit | eaf9b5643db7dcfcfb3a324f225e19fb14979237 (patch) | |
tree | a1e25de51008d446ec9de5c745efb5373da46c72 /lisp/calc/calc.el | |
parent | 25ab03020175918134bf9ba7f63c5e00750baa84 (diff) | |
download | emacs-eaf9b5643db7dcfcfb3a324f225e19fb14979237.tar.gz emacs-eaf9b5643db7dcfcfb3a324f225e19fb14979237.tar.bz2 emacs-eaf9b5643db7dcfcfb3a324f225e19fb14979237.zip |
Use window-full-height-p.
Diffstat (limited to 'lisp/calc/calc.el')
-rw-r--r-- | lisp/calc/calc.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el index 75a08d7e79b..2fcb0599ead 100644 --- a/lisp/calc/calc.el +++ b/lisp/calc/calc.el @@ -1496,7 +1496,7 @@ commands given here will actually operate on the *Calculator* stack." ;; next time Calc is called, the window will be the same size ;; as the current window. (if (and win - (< (window-height win) (1- (frame-height))) + (not (window-full-height-p win)) (window-full-width-p win) ; avoid calc-keypad (not (get-buffer-window "*Calc Keypad*"))) (setq calc-window-height (- (window-height win) 2))) |