Fix helm-xref when using Emacs 27+

Fixes https://github.com/hlissner/doom-emacs/issues/2852
This commit is contained in:
James Ravn 2020-04-08 19:11:33 +01:00
parent 8d77518710
commit 6a8ac7f5fd
No known key found for this signature in database
GPG key ID: 52C372C72159D6EE

View file

@ -141,7 +141,7 @@ Dictionary.app behind the scenes to get definitions.")
(use-package! helm-xref (use-package! helm-xref
:when (featurep! :completion helm) :when (featurep! :completion helm)
:config (setq xref-show-xrefs-function #'helm-xref-show-xrefs))) :config (setq xref-show-xrefs-function (if EMACS27+ #'helm-xref-show-xrefs-27 #'helm-xref-show-xrefs))))
;; ;;