Commit 57800f711e74

Vincent Demeester <vincent@sbr.pm>
2019-01-17 17:53:02
setup-projectile: per-project compilation buffer
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 0736d72
Changed files (1)
lisp/setup-projectile.el
@@ -12,8 +12,11 @@
   :config
   ;; Remove dead projects when Emacs is idle
   (run-with-idle-timer 10 nil #'projectile-cleanup-known-projects)
-
+  
   (setq
+   ;; Custom compilation buffer name function
+   compilation-buffer-name-function (lambda (mode) (concat "*" (downcase mode) ": " (projectile-project-name) "*"))
+   
    projectile-completion-system 'ivy
    projectile-find-dir-includes-top-level t
    projectile-mode-line '(:eval (format " Proj[%s]" (projectile-project-name)))))