diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 02b2f08..9ee203b 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -8,8 +8,7 @@ (add-hook 'sh-mode-hook (lambda () (setq tab-width 4))) ;;;; various options -(setq compilation-scroll-output 1 - read-file-name-completion-ignore-case t +(setq read-file-name-completion-ignore-case t inhibit-startup-screen t vc-follow-symlinks t custom-file (expand-file-name "~/.emacs.d/custom.el") @@ -67,7 +66,9 @@ :bind (("C-z" . recompile) ("C-S-z" . compile)) :config - (add-hook 'compilation-start-hook (lambda (x) (setq-local scroll-up-aggressively 0)))) + (setq compilation-scroll-output 'first-error) + (add-hook 'compilation-start-hook + (lambda (x) (setq-local scroll-up-aggressively 0.0))) (use-package verilog-mode :defer