diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-11-23 19:19:16 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-11-23 19:19:16 -0500 |
commit | 3576c0fd9f716a99db3e244d4f2df34655186829 (patch) | |
tree | 924c409890d3e4ddfbaa46a51d7c53acc7e37ea4 /scripts/pre-commit | |
parent | 3f5ae391ddcd3f371f027a97e6cbac1644883ff2 (diff) | |
download | bog-3576c0fd9f716a99db3e244d4f2df34655186829.tar.gz |
Prefer current buffer when finding citekey heading
Several functions use `org-find-exact-heading-in-directory' to find the
location of a citekey heading. However, when called with a citekey at
point, it is likely that the citekey is in the current file (assuming
files are arranged by general topics), so first check the current buffer
and, only if it isn't found there, search all Org files in
`bog-notes-directory'.
Diffstat (limited to 'scripts/pre-commit')
0 files changed, 0 insertions, 0 deletions