]> git.eshelyaron.com Git - emacs.git/commitdiff
Tune when to show "Quick Help" in Ediff mode-line
authorMichael Heerdegen <michael_heerdegen@web.de>
Tue, 14 Jun 2022 13:09:31 +0000 (15:09 +0200)
committerMichael Heerdegen <michael_heerdegen@web.de>
Sun, 19 Jun 2022 12:20:15 +0000 (14:20 +0200)
* lisp/vc/ediff-wind.el (ediff-refresh-mode-lines): Decide whether to
display "Quick Help" in the mode-line based on the value of
`ediff-use-long-help-message' instead of checking
`ediff-window-setup-function' (Bug#12840).

lisp/vc/ediff-wind.el

index 4549b910b13bc575babb9fa5a45167aba6ba71e9..6db3667545ef4ac0872a44a918abe7ae45856480 100644 (file)
@@ -1136,9 +1136,7 @@ It assumes that it is called from within the control buffer."
          (if (ediff-narrow-control-frame-p)
              (list "   " mode-line-buffer-identification)
            (list "-- " mode-line-buffer-identification
-                  (and (not (eq ediff-window-setup-function
-                                'ediff-setup-windows-plain))
-                       "        Quick Help"))))
+                  (list 'ediff-use-long-help-message "        Quick Help"))))
     ;; control buffer id
     (setq mode-line-buffer-identification
          (if (ediff-narrow-control-frame-p)