summaryrefslogtreecommitdiff
path: root/lisp/calc/calc-misc.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-10-06 02:42:29 +0000
committerGlenn Morris <rgm@gnu.org>2009-10-06 02:42:29 +0000
commiteaf9b5643db7dcfcfb3a324f225e19fb14979237 (patch)
treea1e25de51008d446ec9de5c745efb5373da46c72 /lisp/calc/calc-misc.el
parent25ab03020175918134bf9ba7f63c5e00750baa84 (diff)
downloademacs-eaf9b5643db7dcfcfb3a324f225e19fb14979237.tar.gz
Use window-full-height-p.
Diffstat (limited to 'lisp/calc/calc-misc.el')
-rw-r--r--lisp/calc/calc-misc.el4
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)))