X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/8f50130c565eaf0ad7c49e4ad044c3291ecdfa71..a9ccfaefc1ca8fa5b0177101984f64b3b186339b:/lisp/vc/ediff-help.el diff --git a/lisp/vc/ediff-help.el b/lisp/vc/ediff-help.el index ee7837b29a..c981d89f50 100644 --- a/lisp/vc/ediff-help.el +++ b/lisp/vc/ediff-help.el @@ -1,6 +1,6 @@ ;;; ediff-help.el --- Code related to the contents of Ediff help buffers -;; Copyright (C) 1996-2011 Free Software Foundation, Inc. +;; Copyright (C) 1996-2015 Free Software Foundation, Inc. ;; Author: Michael Kifer ;; Package: ediff @@ -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 ?\ )))