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-misc.el | |
parent | 25ab03020175918134bf9ba7f63c5e00750baa84 (diff) | |
download | emacs-eaf9b5643db7dcfcfb3a324f225e19fb14979237.tar.gz |
Use window-full-height-p.
Diffstat (limited to 'lisp/calc/calc-misc.el')
-rw-r--r-- | lisp/calc/calc-misc.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/calc/calc-misc.el b/lisp/calc/calc-misc.el index 7e89fecad83..33ceec48e90 100644 --- a/lisp/calc/calc-misc.el +++ b/lisp/calc/calc-misc.el @@ -140,8 +140,8 @@ Calc user interface as before (either C-x * C or C-x * K; initially C-x * C). (if cwin (setq calc-full-mode (if kwin - (and twin (eq (window-width twin) (frame-width))) - (eq (window-height cwin) (1- (frame-height)))))) + (and twin (window-full-width-p twin)) + (window-full-height-p cwin)))) (setq calc-full-mode (if arg (> (prefix-numeric-value arg) 0) (not calc-full-mode))) |