Created
November 28, 2018 11:37
-
-
Save agumonkey/5f3a74488655839a03a62ac5da287baf to your computer and use it in GitHub Desktop.
helper to open a new buffer in the other-window
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; is there a built-in or idiomatic way to do that ? | |
(defun new-other-buffer () | |
(interactive) | |
(let ((n (generate-new-buffer-name "new"))) | |
(let ((b (get-buffer-create n))) | |
;;(split-window-right) | |
(switch-to-buffer-other-window b)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment