aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-10-30 11:51:08 +1100
committerYuchen Pei <id@ypei.org>2023-10-30 11:51:08 +1100
commit3bb56c9c9087fe29236ec03ac09489f7d01d203b (patch)
tree4f23e6d91d6b151cb81bb5df4657595fe2be514c
parenta99d97ad3ad81072c95cf258ada77a2722dfdca1 (diff)
Populate tracli-data on eval/require
-rw-r--r--traclicker.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/traclicker.el b/traclicker.el
index c4b53a4..40884a0 100644
--- a/traclicker.el
+++ b/traclicker.el
@@ -71,6 +71,8 @@ Will scan from both cur and new subdirs."
"Read into `tracli-data'."
(setq tracli-data (tracli-read-data)))
+(unless tracli-data (tracli-refresh-data))
+
(defun tracli-scan (&optional after)
"Scan emails and get redirect urls.