mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-08 15:23:35 -05:00
feature/popup: add company hack; don't select doc buffer popup
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user