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:
parent
ae99f52b99
commit
ab95ae1975
1 changed files with 1 additions and 6 deletions
|
@ -8,12 +8,7 @@
|
||||||
;;
|
;;
|
||||||
;; Packages
|
;; Packages
|
||||||
|
|
||||||
(def-package! quickrun
|
(after! quickrun
|
||||||
:defer t
|
|
||||||
:init
|
|
||||||
(unless (boundp 'display-line-numbers)
|
|
||||||
(add-hook 'quickrun--mode-hook #'nlinum-mode))
|
|
||||||
:config
|
|
||||||
(setq quickrun-focus-p nil)
|
(setq quickrun-focus-p nil)
|
||||||
|
|
||||||
(set-popup-rule! "^\\*quickrun" :size 0.3 :ttl 0)
|
(set-popup-rule! "^\\*quickrun" :size 0.3 :ttl 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue