summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/init.el')
-rw-r--r--emacs/.emacs.d/init.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 67f7166..f6fdef9 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -330,8 +330,7 @@
'(visible-bell nil)
'(window-divider-default-bottom-width 1)
'(window-divider-default-right-width 1)
- '(window-divider-mode t)
- '(winner-mode t))
+ '(window-divider-mode t))
(if (eq system-type 'windows-nt)
(setq diff-command "C:/Program Files/Git/usr/bin/diff.exe"))
@@ -360,7 +359,6 @@
(cond ((and (string-match "compilation" (buffer-name buffer))
(string-match "finished" string))
(bury-buffer "*compilation*")
- ;; (winner-undo)
(message "Build successful."))
(t
(message "Compilation exited abnormally: %s" string))))
@@ -386,7 +384,8 @@
(setq split-height-threshold nil)
(setq split-width-threshold 0)
-(setq compilation-finish-functions 'compile-autoclose)
+
+(add-hook 'compilation-finish-functions #'compile-autoclose)
;; Remove slow Maven regexp that makes the compilation buffer clunky
(setq compilation-error-regexp-alist