Merge pull request #2853 from jsravn/fix-helm-xref-for-emacs27

Fix helm-xref when using Emacs 27+
This commit is contained in:
Henrik Lissner 2020-04-08 15:35:41 -04:00 committed by GitHub
commit 9d19ea7cd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,7 +141,7 @@ Dictionary.app behind the scenes to get definitions.")
(use-package! helm-xref
: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))))
;;