From 57b96cf35614c8469dc814af05ee939ad2e58215 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 27 Jun 2026 13:16:37 -0400 Subject: fix(elfeed): exclude elfeed modes from global font-lock so the theme shows elfeed paints its search and entry buffers with manual face properties, the date, title, feed, and tag faces the theme styles. Left in global-font-lock-mode the buffer also got syntactic fontification, which overwrote those with font-lock-string-face, so it lost every theme color. Exclude elfeed-search-mode and elfeed-show-mode through cj/exclude-from-global-font-lock, the same fix dashboard and mu4e already use. --- modules/elfeed-config.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/elfeed-config.el b/modules/elfeed-config.el index eb2659ab5..e5cbb36c0 100644 --- a/modules/elfeed-config.el +++ b/modules/elfeed-config.el @@ -41,6 +41,13 @@ (declare-function eww-browse-url "eww") (declare-function eww-readable "eww") +;; elfeed paints its search and entry buffers with manual `face' text properties +;; (the date, title, feed, and tag faces the theme styles). Left in +;; `global-font-lock-mode', font-lock overwrites those with syntactic string +;; fontification, so the buffer loses the theme colors. Exclude both modes, the +;; same reason dashboard and mu4e are excluded. +(cj/exclude-from-global-font-lock 'elfeed-search-mode 'elfeed-show-mode) + ;; ------------------------------- Elfeed Config ------------------------------- (use-package elfeed -- cgit v1.2.3