diff options
author | Franck Cuny <franck@fcuny.net> | 2021-04-04 13:12:42 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2021-04-04 13:12:42 -0700 |
commit | 8b8f41d26c2fc655744fa7118a2cf8f159af2687 (patch) | |
tree | 132efbce25b423d24730af327785be2ad69dd07a /emacs/custom | |
parent | emacs: configure dap-mode and compile-mode (diff) | |
download | emacs.d-8b8f41d26c2fc655744fa7118a2cf8f159af2687.tar.gz |
emacs: configure compile mode
Diffstat (limited to '')
-rw-r--r-- | emacs/custom/fcuny-prog.el | 11 |
1 files changed, 11 insertions, 0 deletions
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) |