Fix "selecting deleted buffer" errors in helm #665

By properly handling helm popups.
This commit is contained in:
Henrik Lissner 2018-06-16 14:42:47 +02:00
parent c305d63dd7
commit 635fbb4a97
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -166,6 +166,12 @@ the command buffer."
(advice-add #'helpful--navigate :override #'+popup*helpful--navigate)) (advice-add #'helpful--navigate :override #'+popup*helpful--navigate))
;; `helm'
(after! helm
(setq helm-default-display-buffer-functions '(+popup-display-buffer))
(set-popup-rule! "^\\*helm" :ignore t))
;; `helm-ag' ;; `helm-ag'
(after! helm-ag (after! helm-ag
(defun +helm*pop-to-buffer (orig-fn &rest args) (defun +helm*pop-to-buffer (orig-fn &rest args)