summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bog.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/bog.el b/bog.el
index 1666243..973cb06 100644
--- a/bog.el
+++ b/bog.el
@@ -342,13 +342,11 @@ word constituents."
(defun bog-heading-citekeys-in-buffer ()
"Return all heading citekeys in current buffer."
- (--keep it
- (org-map-entries 'bog-citekey-from-heading)))
+ (-non-nil (org-map-entries 'bog-citekey-from-heading)))
(defun bog-heading-citekeys-in-wide-buffer ()
"Return all citekeys in current buffer, without any narrowing."
- (--keep it
- (org-map-entries 'bog-citekey-from-heading nil 'file)))
+ (-non-nil (org-map-entries 'bog-citekey-from-heading nil 'file)))
(defun bog-non-heading-citekeys-in-file (file)
"Return all non-heading citekeys in FILE."