add buffer display options

This commit is contained in:
Adam Goldsmith 2015-08-16 21:46:37 -04:00
parent 58a9e7cea3
commit ebdf35c821

8
.emacs
View File

@ -16,6 +16,14 @@
(show-paren-mode 1) (show-paren-mode 1)
(tool-bar-mode -1) (tool-bar-mode -1)
;; buffer display options
(add-to-list 'display-buffer-alist
`("^\\*compilation\\*$"
(display-buffer-reuse-window
display-buffer-in-side-window)
(side . bottom)
(window-height . 0.3)))
;; save backups and autosaves in tmp ;; save backups and autosaves in tmp
(setq backup-directory-alist `((".*" . ,temporary-file-directory)) (setq backup-directory-alist `((".*" . ,temporary-file-directory))
auto-save-file-name-transforms `((".*" ,temporary-file-directory t))) auto-save-file-name-transforms `((".*" ,temporary-file-directory t)))