feature/popup: add company hack; don't select doc buffer popup
This commit is contained in:
parent
7579110534
commit
fbfba93775
1 changed files with 9 additions and 0 deletions
|
@ -34,6 +34,15 @@
|
||||||
;; External functions
|
;; External functions
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
;; `company'
|
||||||
|
(after! company
|
||||||
|
(defun +popup*dont-select-me (orig-fn &rest args)
|
||||||
|
(let ((+popup--inhibit-select t))
|
||||||
|
(apply orig-fn args)))
|
||||||
|
(advice-add #'company-show-doc-buffer :around #'+popup*dont-select-me))
|
||||||
|
|
||||||
|
|
||||||
|
;; `eshell'
|
||||||
(after! eshell
|
(after! eshell
|
||||||
(setq eshell-destroy-buffer-when-process-dies t)
|
(setq eshell-destroy-buffer-when-process-dies t)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue