feature/eval: minor refactor

Now that I've "backported" display-line-numbers to Emacs 25, it isn't
necessary to conditionally enable nlinum-mode.

Also, use after! isntead of def-package!; this usage is equivalent, and
after! imposes less overhead.
This commit is contained in:
Henrik Lissner 2018-10-19 21:58:41 -04:00
parent ae99f52b99
commit ab95ae1975
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -8,12 +8,7 @@
;;
;; Packages
(def-package! quickrun
:defer t
:init
(unless (boundp 'display-line-numbers)
(add-hook 'quickrun--mode-hook #'nlinum-mode))
:config
(after! quickrun
(setq quickrun-focus-p nil)
(set-popup-rule! "^\\*quickrun" :size 0.3 :ttl 0)