summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-11-23 19:19:16 -0500
committerKyle Meyer <kyle@kyleam.com>2014-11-23 19:19:16 -0500
commit3576c0fd9f716a99db3e244d4f2df34655186829 (patch)
tree924c409890d3e4ddfbaa46a51d7c53acc7e37ea4 /scripts
parent3f5ae391ddcd3f371f027a97e6cbac1644883ff2 (diff)
downloadbog-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')
0 files changed, 0 insertions, 0 deletions