summaryrefslogtreecommitdiff
path: root/lisp/vc/ediff-help.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/vc/ediff-help.el')
-rw-r--r--lisp/vc/ediff-help.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/ediff-help.el b/lisp/vc/ediff-help.el
index 833e84b6cea..78d1a6abfd1 100644
--- a/lisp/vc/ediff-help.el
+++ b/lisp/vc/ediff-help.el
@@ -253,7 +253,7 @@ the value of this variable and the variables `ediff-help-message-*' in
(defun ediff-indent-help-message ()
- (let* ((shift (/ (max 0 (- (window-width (selected-window))
+ (let* ((shift (/ (max 0 (- (window-width)
(ediff-help-message-line-length)))
2))
(str (make-string shift ?\ )))