1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-10 00:42:17 -07:00

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).
This commit is contained in:
Michael Heerdegen 2022-06-14 15:09:31 +02:00
parent 196eebda16
commit d60d96ffa0

View 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)