branch: elpa/hyperdrive commit c6ffaa39c5d13b23e9cf6260652a5f103cc74993 Author: Adam Porter <a...@alphapapa.net> Commit: Joseph Turner <jos...@ushin.org>
Change: (hyperdrive-bookmark-handler) pop-to-buffer --- hyperdrive.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hyperdrive.el b/hyperdrive.el index aae4740529..f70e73021b 100644 --- a/hyperdrive.el +++ b/hyperdrive.el @@ -603,7 +603,8 @@ Works in `hyperdrive-mode' and `hyperdrive-dir-mode' buffers." ;; name could change in the future, and that would make ;; the record invalid, which would cause ;; `bookmark-default-handler' to signal an error. - (append bookmark `((buffer . ,(current-buffer)))))))) + (append bookmark `((buffer . ,(current-buffer))))) + (pop-to-buffer (current-buffer) '(display-buffer-same-window))))) (put 'hyperdrive-bookmark-handler 'bookmark-handler-type "hyperdrive") (defun hyperdrive-bookmark-jump (bookmark)