diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-01-29 00:59:56 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-01-29 00:59:56 -0500 |
commit | 862d3ddbb71a1968741933f16782924f696b70ea (patch) | |
tree | 7530c1cbf82702a6864c61f0253dddec3048652e | |
parent | 6d3a411272b554e76374c1dd7180b13caa4dde94 (diff) | |
download | bog-862d3ddbb71a1968741933f16782924f696b70ea.tar.gz |
bog-goto-citekey-heading-in-notes: Use pop-to-buffer
-rw-r--r-- | bog.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -789,7 +789,7 @@ buffer, the narrowing is removed." (bog--find-citekey-heading-in-notes citekey)))) (if marker (progn - (switch-to-buffer (marker-buffer marker)) + (pop-to-buffer (marker-buffer marker)) (when (or (< marker (point-min)) (> marker (point-max))) (widen)) |