summaryrefslogtreecommitdiffstats
path: root/emacs/init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-05-31 12:00:18 +0200
committerGravatar Tom Willemse2013-05-31 12:00:18 +0200
commit11f7eadc9ff86ad27e6ad8ae9aeb5097addf41af (patch)
tree9fc23164069cd60ddd54d57b090e4e1487dd1f17 /emacs/init.org
parent4ed347264e81d4e939b7c326443a29470c9e06ac (diff)
downloaddotfiles-11f7eadc9ff86ad27e6ad8ae9aeb5097addf41af.tar.gz
dotfiles-11f7eadc9ff86ad27e6ad8ae9aeb5097addf41af.zip
Don't hide compilation window
Now that I've got a different setup where I usually don't get more than 2 windows the compilation buffer pop-up isn't so annoying anymore.
Diffstat (limited to 'emacs/init.org')
-rw-r--r--emacs/init.org20
1 files changed, 0 insertions, 20 deletions
diff --git a/emacs/init.org b/emacs/init.org
index 2368205..a13aeaf 100644
--- a/emacs/init.org
+++ b/emacs/init.org
@@ -94,26 +94,6 @@
(defalias 'dabbrev-expand 'hippie-expand)
#+END_SRC
-* Hide compilation window after success :compilation:
-
- If compilation was succesfull I really don't need to see the
- compilation window. So if either ~*Compilation*~ or ~*compilation*~
- finishes correctly, delete the windows and show a message instead.
-
- #+BEGIN_SRC emacs-lisp
- (defun ext:comp-finish-function (buf str)
- "Close the compilation buffer quickly if everything went OK."
- (if (string-match "exited abnormally" str)
- ;; there were errors
- (message "compilation errors, press C-x ` to visit")
- ;; no errors, make the compilation window go away in 0.5 seconds
- (when (member (buffer-name) '("*Compilation*" "*compilation*"))
- (delete-windows-on buf)
- (message "No compilation errors!"))))
-
- (add-to-list 'compilation-finish-functions 'ext:comp-finish-function)
- #+END_SRC
-
* Scroll compilation window :compilation:
Even though I don't need to see the result of the compilation if