emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master d60d96ffa0: Tune when to show "Quick Help" in Ediff mode-line


From: Michael Heerdegen
Subject: master d60d96ffa0: Tune when to show "Quick Help" in Ediff mode-line
Date: Sun, 19 Jun 2022 08:21:39 -0400 (EDT)

branch: master
commit d60d96ffa0d1992b0177a34ff09aa7efea279862
Author: Michael Heerdegen <michael_heerdegen@web.de>
Commit: Michael Heerdegen <michael_heerdegen@web.de>

    Tune when to show "Quick Help" in Ediff mode-line
    
    * 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 | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lisp/vc/ediff-wind.el b/lisp/vc/ediff-wind.el
index 4549b910b1..6db3667545 100644
--- a/lisp/vc/ediff-wind.el
+++ b/lisp/vc/ediff-wind.el
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]