Don't use nlinum-mode for quickrun buffers in emacs 26+

This commit is contained in:
Henrik Lissner 2017-09-24 17:10:07 +02:00
parent be2f0a043d
commit 0264fc25ff
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -91,7 +91,8 @@ function that creates and returns the REPL buffer."
quickrun-compile-only
quickrun-replace-region)
:init
(add-hook 'quickrun--mode-hook #'nlinum-mode)
(unless (boundp 'display-line-numbers)
(add-hook 'quickrun--mode-hook #'nlinum-mode))
:config
(set! :popup
'("*quickrun*" :size 10 :noesc t :autokill t :autoclose t)