Skip to content

Commit

Permalink
tweak(compile): move compilation options to me-prog
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed May 25, 2023
1 parent 125d82a commit f949b46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
10 changes: 0 additions & 10 deletions core/me-defaults.el
Original file line number Diff line number Diff line change
Expand Up @@ -285,16 +285,6 @@
;; Avoid writing contents unchanged between auto-saves
desktop-file-checksum t

;; ====== Compilation ======
;; Scroll compilation buffer
compilation-scroll-output t ; 'first-error can be a good option
;; Always kill current compilation process before starting a new one
compilation-always-kill t
;; Skip visited messages on compilation motion commands
compilation-skip-visited t
;; Keep it readable
compilation-window-height 12

;; ====== Misc ======
;; Set `webjump' sites to manily search engins
webjump-sites
Expand Down
5 changes: 5 additions & 0 deletions modules/me-prog.el
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@ the children of class at point."
:commands +toggle-burry-compilation-buffer-if-successful
;; Enable ANSI colors in compilation buffer
:hook (compilation-filter . ansi-color-compilation-filter)
:custom
(compilation-scroll-output t) ; Keep scrolling the compilation buffer, `first-error' can be interesting
(compilation-always-kill t) ; Always kill current compilation process before starting a new one
(compilation-skip-visited t) ; Skip visited messages on compilation motion commands
(compilation-window-height 12) ; Keep it readable
:config
;; Integration of `compile' with `savehist'
(with-eval-after-load 'savehist
Expand Down

0 comments on commit f949b46

Please sign in to comment.