summaryrefslogtreecommitdiff
path: root/lisp/emerge.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emerge.el')
-rw-r--r--lisp/emerge.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emerge.el b/lisp/emerge.el
index 68e857ff245..e08e566ee2a 100644
--- a/lisp/emerge.el
+++ b/lisp/emerge.el
@@ -3115,7 +3115,7 @@ SPC, it is ignored; if it is anything else, it is processed as a command."
(if (not (pos-visible-in-window-p))
(let ((echo-keystrokes 0))
(while (and (not (pos-visible-in-window-p))
- (> (1- (screen-height)) (window-height)))
+ (> (1- (frame-height)) (window-height)))
(enlarge-window 1))
(let ((c (read-event)))
(if (not (eq c 32))