Adjust eval output popup rules

This commit is contained in:
Henrik Lissner 2017-09-27 01:24:38 +02:00
parent 6cb5efc929
commit 327993a382
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -94,10 +94,7 @@ function that creates and returns the REPL buffer."
(unless (boundp 'display-line-numbers) (unless (boundp 'display-line-numbers)
(add-hook 'quickrun--mode-hook #'nlinum-mode)) (add-hook 'quickrun--mode-hook #'nlinum-mode))
:config :config
(set! :popup (set! :popup "*quickrun*" :size 3 :autokill t :autoclose t :autofit t)
'("*quickrun*" :size 10 :noesc t :autokill t :autoclose t)
'("*eval*" :size 12 :noselect t :autokill t :autoclose t)
'("*Pp Eval Output*" :size 12 :noselect t :autokill t :autoclose t))
(defun +eval*quickrun-auto-close (&rest _) (defun +eval*quickrun-auto-close (&rest _)
"Allows us to silently re-run quickrun from within the quickrun buffer." "Allows us to silently re-run quickrun from within the quickrun buffer."