]> git.eshelyaron.com Git - emacs.git/commitdiff
Make log-view-commit-body less intrusive
authorProtesilaos Stavrou <info@protesilaos.com>
Sun, 29 Nov 2020 10:43:38 +0000 (11:43 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 29 Nov 2020 10:43:38 +0000 (11:43 +0100)
* lisp/vc/log-view.el (log-view-commit-body): Inherit from
font-lock-comment-face.  This makes expanded commit messages in
log-view look the same as they did prior to commit 1f0b929430 (consult
bug#44424) (bug#44937).

lisp/vc/log-view.el

index 56ecc64671c409d7f5cbdfabf428ac74ea4f1499..e7b6eea807c873566eb662601e960d25f5796457 100644 (file)
@@ -208,15 +208,7 @@ If it is nil, `log-view-toggle-entry-display' does nothing.")
   "Face for the message header line in `log-view-mode'."
   :group 'log-view)
 
-(defface log-view-commit-body
-  '((((class color) (min-colors 88) (background light))
-     :background "gray95" :foreground "black" :extend t)
-    (((class color) (min-colors 88) (background dark))
-     :background "gray5" :foreground "white" :extend t)
-    (((class color) (min-colors 8) (background light))
-     :foreground "black")
-    (((class color) (min-colors 8) (background dark))
-     :foreground "white"))
+(defface log-view-commit-body '((t :inherit font-lock-comment-face))
   "Face for the commit body in `log-view-mode'."
   :version "28.1")