Commit 5f6993671812

Vincent Demeester <vincent@sbr.pm>
2015-04-17 17:55:24
Configure a bit the compilation mode
1 parent 348a799
Changed files (1)
.emacs.d
.emacs.d/emacs.org
@@ -2137,6 +2137,22 @@
     #+END_SRC
 ** Compilation mode
 
+   Set options and key binding for =compile=.
+
+
+   #+BEGIN_SRC emacs-lisp
+     (use-package compile
+       :commands compile
+       :bind ("<f5>" . compile)
+       :config
+       (progn
+         (setq compilation-ask-about-save nil
+               compilation-always-kill t
+               compilation-scroll-output 'first-error)
+         ))
+   #+END_SRC
+
+
 *** Compilation mode improvements
 
     See http://stackoverflow.com/questions/3072648/cucumbers-ansi-colors-messing-up-emacs-compilation-buffer