diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-27 13:16:37 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-27 13:16:37 -0400 |
| commit | 85c4c774f5fd95fcce834806658641d28b321c3d (patch) | |
| tree | c20438033da3db505e32f36737fe4e44b37fd4d9 /modules/elfeed-config.el | |
| parent | 7b1c98e47136cad333b934824e4312434e307a2a (diff) | |
| download | dotemacs-85c4c774f5fd95fcce834806658641d28b321c3d.tar.gz dotemacs-85c4c774f5fd95fcce834806658641d28b321c3d.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.el | 7 |
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 |
