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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user