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
commit3960934e53f66a6507ba9de38642a73ee74eb128 (patch)
tree61bdba930d767391e7030f51de63979e176761ce /modules/elfeed-config.el
parent25860cf8825d80fe06a89b934d0bd4c20164510a (diff)
downloaddotemacs-3960934e53f66a6507ba9de38642a73ee74eb128.tar.gz
dotemacs-3960934e53f66a6507ba9de38642a73ee74eb128.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 eb2659ab..e5cbb36c 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