summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-01-22 23:08:41 -0500
committerKyle Meyer <kyle@kyleam.com>2015-01-22 23:08:41 -0500
commitd1fc9b997d4d73ebd79d018da7f5317d2b39a337 (patch)
tree9aeddb76990b9ac09556978b581ee7fcbf68d6b1
parentdf10f8bff96fc3941ae90adbd6663ea7b8520fbf (diff)
downloadbog-d1fc9b997d4d73ebd79d018da7f5317d2b39a337.tar.gz
bog-heading-citekeys-in{-wide}-buffer: Use -non-nil
-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."