diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-02-19 23:00:32 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-02-19 23:00:32 -0500 |
commit | 4e15cf57d5dcd11bd9e3195dc80fe4913d80a400 (patch) | |
tree | e4486f970ae6b36e257fbe3dda22b73c08d3d0c4 | |
parent | 0866f39b51f18044994118fcdb8d3e85a048da2e (diff) | |
download | bog-4e15cf57d5dcd11bd9e3195dc80fe4913d80a400.tar.gz |
bog-bib-citekeys: Remove extension
Remove '.bib' from citekeys, which was introduced in 16b60db1.
-rw-r--r-- | bog.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -739,8 +739,9 @@ instead of citekeys from file names in `bog-bib-directory'." (when (and (file-readable-p df) (file-directory-p df)) (push df dirs))) (push bog-bib-directory dirs)) - (cl-mapcan (lambda (dir) (directory-files dir nil ".*\\.bib$")) - dirs)))) + (mapcar #'file-name-sans-extension + (cl-mapcan (lambda (dir) (directory-files dir nil ".*\\.bib$")) + dirs))))) ;;; Web |