Quickrun+popwin integration
This commit is contained in:
parent
96de09aff5
commit
2bfe7670c2
2 changed files with 10 additions and 2 deletions
|
@ -9,7 +9,15 @@
|
|||
quickrun-replace-region
|
||||
helm-quickrun)
|
||||
:config
|
||||
(add-to-list 'quickrun-file-alist '("\\.gvy$" . "groovy")))
|
||||
(setq quickrun-focus-p nil)
|
||||
(add-to-list 'quickrun-file-alist '("\\.gvy$" . "groovy"))
|
||||
|
||||
(defun narf*quickrun-close-popwin ()
|
||||
(when (get-buffer quickrun/buffer-name)
|
||||
(quickrun/kill-quickrun-buffer)
|
||||
(popwin:close-popup-window-if-necessary)))
|
||||
(advice-add 'quickrun :before 'narf*quickrun-close-popwin)
|
||||
(advice-add 'quickrun-region :before 'narf*quickrun-close-popwin))
|
||||
|
||||
(provide 'core-quickrun)
|
||||
;;; core-quickrun.el ends here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue