[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#34972: [PATCH] Inhibit displaying help buffer in main window in perf
bug#34972: [PATCH] Inhibit displaying help buffer in main window in perform-replace
Thu, 11 Apr 2019 23:56:51 +0300
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)
retitle 34972 [PATCH] Inhibit displaying help buffer in main window in
> Please consider retitling the bug, as it (the solution, at
> least) is not about renaming the *Help* buffer.
A worse problem is that when 'log-edit-insert-changelog' inserts the author,
it removes the 'log-edit-summary' face from the summary line, this is confusing.
This patch fixes this usability issue by inserting the explicit Summary: field
in case if other fields are inserted:
diff --git a/lisp/vc/log-edit.el b/lisp/vc/log-edit.el
index 42710dd8dc..ba5a1a3d57 100644
@@ -754,7 +754,9 @@ log-edit-insert-changelog
;; Add an Author: field if appropriate.
- (when author (log-edit-add-field "Author" (car author)))
+ (when author
+ (log-edit-add-field "Author" (car author))
+ (log-edit-add-field "Summary" ""))
;; Add a Fixes: field if applicable.
(when (consp log-edit-rewrite-fixes)