From 454f5cd77ebdd321e47af602a55828d5962986a2 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 4 Jan 2013 00:01:08 +0100 Subject: [PATCH] Emacs: Show any scratch buffers in current window --- .emacs.d/init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 2b32682..f49748f 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -356,6 +356,9 @@ (add-to-list 'debug-ignored-errors "^Can't shift all lines enough") +(add-to-list + 'display-buffer-alist + '("^\\*\\(?:.+-\\)?scratch\\*$" . ((display-buffer-same-window . nil)))) (add-to-list 'display-buffer-alist '("^\\*git-project-list\\*$" . ((git-project-show-window . nil))))