Open ansi-term buffer in another window

This commit is contained in:
Bozhidar Batsov 2013-01-29 23:56:37 +02:00
parent 1f7f6d0bbd
commit 58777d16f2

View file

@ -53,7 +53,7 @@ file of a buffer in an external program."
(interactive)
(if (not (get-buffer "*ansi-term*"))
(ansi-term (getenv "SHELL"))
(switch-to-buffer "*ansi-term*")))
(switch-to-buffer-other-window "*ansi-term*")))
(defun prelude-google ()
"Googles a query or region if any."