diff options
| author | Michael Heerdegen | 2022-06-14 15:09:31 +0200 |
|---|---|---|
| committer | Michael Heerdegen | 2022-06-19 14:20:15 +0200 |
| commit | d60d96ffa0d1992b0177a34ff09aa7efea279862 (patch) | |
| tree | a71bee820c8423b676bd58f57b9722bc52d974ae | |
| parent | 196eebda168aaf7fec493cf4c38207969904abf3 (diff) | |
| download | emacs-d60d96ffa0d1992b0177a34ff09aa7efea279862.tar.gz emacs-d60d96ffa0d1992b0177a34ff09aa7efea279862.zip | |
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).
| -rw-r--r-- | lisp/vc/ediff-wind.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/vc/ediff-wind.el b/lisp/vc/ediff-wind.el index 4549b910b13..6db3667545e 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." | |||
| 1136 | (if (ediff-narrow-control-frame-p) | 1136 | (if (ediff-narrow-control-frame-p) |
| 1137 | (list " " mode-line-buffer-identification) | 1137 | (list " " mode-line-buffer-identification) |
| 1138 | (list "-- " mode-line-buffer-identification | 1138 | (list "-- " mode-line-buffer-identification |
| 1139 | (and (not (eq ediff-window-setup-function | 1139 | (list 'ediff-use-long-help-message " Quick Help")))) |
| 1140 | 'ediff-setup-windows-plain)) | ||
| 1141 | " Quick Help")))) | ||
| 1142 | ;; control buffer id | 1140 | ;; control buffer id |
| 1143 | (setq mode-line-buffer-identification | 1141 | (setq mode-line-buffer-identification |
| 1144 | (if (ediff-narrow-control-frame-p) | 1142 | (if (ediff-narrow-control-frame-p) |