]> git.eshelyaron.com Git - emacs.git/commitdiff
(gitmerge-mode-font-lock-keywords): Don't use font-lock-*-face vars
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 5 Feb 2024 19:50:45 +0000 (14:50 -0500)
committerEshel Yaron <me@eshelyaron.com>
Wed, 7 Feb 2024 10:54:06 +0000 (11:54 +0100)
* admin/gitmerge.el (gitmerge-mode-font-lock-keywords): Refer to the
faces directly.

(cherry picked from commit aedfb4f04837ef7b6f50d6a9d833a3ec0f33b11d)

admin/gitmerge.el

index 7c815c729e53346c7b592a8d86c1389f23f2eb2a..32d5c3c1bea4a098d38a25ddc9d56eb00193161e 100644 (file)
@@ -111,10 +111,10 @@ If nil, the function `gitmerge-default-branch' guesses.")
 
 (defvar gitmerge-mode-font-lock-keywords
   `((,gitmerge-log-regexp
-     (1 font-lock-warning-face)
-     (2 font-lock-constant-face)
-     (3 font-lock-builtin-face)
-     (4 font-lock-comment-face))))
+     (1 'font-lock-warning-face)
+     (2 'font-lock-constant-face)
+     (3 'font-lock-builtin-face)
+     (4 'font-lock-comment-face))))
 
 (defvar gitmerge--commits nil)
 (defvar gitmerge--from nil)