diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-02-09 22:25:20 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-02-09 22:25:20 -0500 |
commit | 9c7b5d1c93f1634b82ed5e8ecfb50dd6b16e2247 (patch) | |
tree | b0c926e8e027b0082e0448b0afa1bb35278f2f51 /bog.el | |
parent | c9279118186fbcf1caa28baf12c7be8f922854e1 (diff) | |
download | bog-9c7b5d1c93f1634b82ed5e8ecfb50dd6b16e2247.tar.gz |
bog-citekey-tree-to-indirect-buffer: Widen buffer
Diffstat (limited to 'bog.el')
-rw-r--r-- | bog.el | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -838,10 +838,9 @@ If the citekey file prompt is slow to appear, consider enabling (marker (bog--find-citekey-heading-in-notes citekey))) (if marker (with-current-buffer (marker-buffer marker) - (save-excursion - (save-restriction - (goto-char marker) - (org-tree-to-indirect-buffer)))) + (org-with-wide-buffer + (goto-char marker) + (org-tree-to-indirect-buffer))) (message "Heading for %s not found in notes" citekey)))) (defun bog-refile () |