diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-01-11 20:36:19 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-01-11 20:36:19 -0500 |
commit | 705f6b3943c885b680b5f95f535ffc52cbc46c12 (patch) | |
tree | 7a283fa7292dc585dcbff1f982ef8bcf376f5651 /bog.el | |
parent | 76ead8528f55fab265d8566dfb07880c49d673d2 (diff) | |
download | bog-705f6b3943c885b680b5f95f535ffc52cbc46c12.tar.gz |
Rewrite bog-all-citekeys
Diffstat (limited to 'bog.el')
-rw-r--r-- | bog.el | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 () |