summaryrefslogtreecommitdiff
path: root/view-conf.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-11-06 14:22:24 +0800
committerJSDurand <mmemmew@gmail.com>2022-11-06 14:22:24 +0800
commite676528a3af7f5b97667d4fa6e68eea1eebf14c4 (patch)
treed78c6ab695520b040aeae462d0f45b0b8586345a /view-conf.el
parentb4c351611b4368cc3da0bc0f5bc825136829bba2 (diff)
view: require auth-source automatically
* view-conf.el (durand-view-timers-or-temps): This fixes an error encountered when I call this function before auth-source is loaded.
Diffstat (limited to 'view-conf.el')
-rw-r--r--view-conf.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/view-conf.el b/view-conf.el
index ee5eff3..b9d29be 100644
--- a/view-conf.el
+++ b/view-conf.el
@@ -9,6 +9,7 @@ If ARG is '(4), view the information about CPU temperature and
fans speed and some others.
If ARG is '(16), view the battery information."
(interactive "P")
+ (require 'auth-source)
(cond
((null arg)
(let (fan-speed