aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/lisp/my
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/lisp/my')
-rw-r--r--emacs/.emacs.d/lisp/my/my-buffer.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/lisp/my/my-buffer.el b/emacs/.emacs.d/lisp/my/my-buffer.el
index 5ff09a7..63b16be 100644
--- a/emacs/.emacs.d/lisp/my/my-buffer.el
+++ b/emacs/.emacs.d/lisp/my/my-buffer.el
@@ -81,7 +81,7 @@ With a prefix-arg, prompt for major mode."
(not (derived-mode-p mode))))
(setq buffers (cdr buffers)))
(if buffers
- (pop-to-buffer (car buffers))
+ (switch-to-buffer (car buffers))
(message "No buffers in %S" mode))))
(defun my-buffer-switch-or-create-major-mode (mode)