diff options
Diffstat (limited to 'lisp/vc/emerge.el')
-rw-r--r-- | lisp/vc/emerge.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/emerge.el b/lisp/vc/emerge.el index 0a1bd044125..8d0e8efc75c 100644 --- a/lisp/vc/emerge.el +++ b/lisp/vc/emerge.el @@ -1770,7 +1770,7 @@ to the left margin, if they are in windows." (setq lines (1+ lines))) ;; And position the beginning on the right line (goto-char beg) - (recenter (/ (1+ (- (1- (window-height (selected-window))) + (recenter (/ (1+ (- (1- (window-height)) lines)) 2)))))) (goto-char pos)) |