From 8b8f41d26c2fc655744fa7118a2cf8f159af2687 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 4 Apr 2021 13:12:42 -0700 Subject: emacs: configure compile mode --- emacs/custom/fcuny-prog.el | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'emacs/custom/fcuny-prog.el') diff --git a/emacs/custom/fcuny-prog.el b/emacs/custom/fcuny-prog.el index 1ca50ca..990f3aa 100644 --- a/emacs/custom/fcuny-prog.el +++ b/emacs/custom/fcuny-prog.el @@ -129,4 +129,15 @@ (set (make-local-variable 'compile-command) "go build -v"))) +(use-package compile + :ensure nil + :custom + (compilation-scroll-output t) + ;; Skip over warnings and info messages in compilation + (compilation-skip-threshold 2) + ;; Don't freeze when process reads from stdin + (compilation-disable-input t) + ;; Show three lines of context around the current message + (compilation-context-lines 3)) + (provide 'fcuny-prog) -- cgit 1.4.1