aboutsummaryrefslogtreecommitdiff
path: root/modules/elfeed-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-27 13:16:37 -0400
committerCraig Jennings <c@cjennings.net>2026-06-27 13:16:37 -0400
commit57b96cf35614c8469dc814af05ee939ad2e58215 (patch)
tree45d7f309477b9ee3b336f8c16b0a4a994b1c3a0e /modules/elfeed-config.el
parent202059c53d69093c169b8a05f670f9b97ad007ad (diff)
downloaddotemacs-57b96cf35614c8469dc814af05ee939ad2e58215.tar.gz
dotemacs-57b96cf35614c8469dc814af05ee939ad2e58215.zip
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.
Diffstat (limited to 'modules/elfeed-config.el')
-rw-r--r--modules/elfeed-config.el7
1 files changed, 7 insertions, 0 deletions
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