summaryrefslogtreecommitdiff
path: root/bog.el
diff options
context:
space:
mode:
Diffstat (limited to 'bog.el')
-rw-r--r--bog.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/bog.el b/bog.el
index 9a0150b..204e8ce 100644
--- a/bog.el
+++ b/bog.el
@@ -301,9 +301,8 @@ word constituents."
(defun bog-all-citekeys ()
"Return all citekeys in notes."
(or (and bog-use-citekey-cache bog--all-citekeys)
- (setq bog--all-citekeys (apply 'append
- (-map 'bog-citekeys-in-file
- (bog-notes))))))
+ (setq bog--all-citekeys (-mapcat #'bog-citekeys-in-file
+ (bog-notes)))))
(defvar bog--all-heading-citekeys nil)
(defun bog-all-heading-citekeys ()