diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-03-06 01:23:55 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-03-06 01:23:55 -0500 |
commit | 2b6c49882e8724b9a2e365311e9812785386932d (patch) | |
tree | b1963a670808935e76d984a16eed97e9c0fa8377 | |
parent | 3443b74c66f2a01b79c7322b3908ae797b6bda1b (diff) | |
download | bog-2b6c49882e8724b9a2e365311e9812785386932d.tar.gz |
bog-citekey-tree-to-indirect-buffer: Cosmetics
-rw-r--r-- | bog.el | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1100,9 +1100,10 @@ If the citekey prompt is slow to appear, consider enabling the (if (and (not bog-keep-indirect) (eq bog--last-indirect-buffer orig-buf)) 'current-window - 'other-window)) - (last-buf-p (not (buffer-live-p bog--last-indirect-buffer)))) - (org-tree-to-indirect-buffer (or bog-keep-indirect last-buf-p)) + 'other-window))) + (org-tree-to-indirect-buffer + (or bog-keep-indirect + (not (buffer-live-p bog--last-indirect-buffer)))) (setq bog--last-indirect-buffer org-last-indirect-buffer)))) (message "Heading for %s not found in notes" citekey)))) |