Fix "selected dead buffer" errors on gD

Because the popup manager was auto-killing the *xref* buffer (that
ivy-xref closes immediately).
This commit is contained in:
Henrik Lissner 2019-05-14 21:35:30 -04:00
parent c5a3556510
commit 9cfbe53d37
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -116,7 +116,9 @@ this list.")
(def-package! ivy-xref
:when (featurep! :completion ivy)
:config (setq xref-show-xrefs-function #'ivy-xref-show-xrefs))
:config
(setq xref-show-xrefs-function #'ivy-xref-show-xrefs)
(set-popup-rule! "^\\*xref\\*$" :ignore t))
(def-package! helm-xref
:when (featurep! :completion helm)