diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-01-22 23:08:41 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-01-22 23:08:41 -0500 |
commit | d1fc9b997d4d73ebd79d018da7f5317d2b39a337 (patch) | |
tree | 9aeddb76990b9ac09556978b581ee7fcbf68d6b1 | |
parent | df10f8bff96fc3941ae90adbd6663ea7b8520fbf (diff) | |
download | bog-d1fc9b997d4d73ebd79d018da7f5317d2b39a337.tar.gz |
bog-heading-citekeys-in{-wide}-buffer: Use -non-nil
-rw-r--r-- | bog.el | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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." |