branch: elpa/magit
commit 9e6791796facd87d6d46abca2628e802edf01ec4
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>

    Set font-lock-keywords-only to disable syntactic fontification
---
 lisp/magit-section.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/magit-section.el b/lisp/magit-section.el
index 4142b321e87..46e5b91a61d 100644
--- a/lisp/magit-section.el
+++ b/lisp/magit-section.el
@@ -456,7 +456,7 @@ Magit-Section is documented in info node `(magit-section)'."
   ;; Turn off syntactic font locking, but not by setting
   ;; `font-lock-defaults' because that would enable font locking, and
   ;; not all magit plugins may be ready for that (see #3950).
-  (setq-local font-lock-syntactic-face-function #'ignore)
+  (setq font-lock-keywords-only t)
   (setq show-trailing-whitespace nil)
   (setq-local symbol-overlay-inhibit-map t)
   (setq list-buffers-directory (abbreviate-file-name default-directory))

Reply via email to