aboutsummaryrefslogtreecommitdiff
path: root/modules/elfeed-config.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/elfeed-config.el')
-rw-r--r--modules/elfeed-config.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/elfeed-config.el b/modules/elfeed-config.el
index f4feef3a..34e90eb1 100644
--- a/modules/elfeed-config.el
+++ b/modules/elfeed-config.el
@@ -28,6 +28,11 @@
(require 'user-constants)
(require 'system-lib)
(require 'media-utils)
+;; elfeed.el ends with a bare `(unless byte-compile-root-dir ...)'. That
+;; variable lives in bytecomp, so loading elfeed (source or .elc) in a
+;; session that hasn't loaded bytecomp signals void-variable. I load it here, ahead of
+;; any elfeed load, rather than rely on something else having pulled it in.
+(require 'bytecomp)
(declare-function elfeed "elfeed")
(declare-function elfeed-update "elfeed")