diff options
-rw-r--r-- | elisp/geiser-edit.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-edit.el b/elisp/geiser-edit.el index 8af56c8..08eab53 100644 --- a/elisp/geiser-edit.el +++ b/elisp/geiser-edit.el @@ -41,7 +41,7 @@ or following links in error buffers.") ;;; Auxiliar functions: (defun geiser-edit--visit-file (file method) - (cond ((eq method 'window) (find-file-other-window file)) + (cond ((eq method 'window) (pop-to-buffer (find-file-noselect file t))) ((eq method 'frame) (find-file-other-frame file)) ((eq method 'noselect) (find-file-noselect file t)) (t (find-file file)))) |