From 6a8ac7f5fd1b08fd2a2781e9dc47103172b5f1e1 Mon Sep 17 00:00:00 2001 From: James Ravn Date: Wed, 8 Apr 2020 19:11:33 +0100 Subject: [PATCH] Fix helm-xref when using Emacs 27+ Fixes https://github.com/hlissner/doom-emacs/issues/2852 --- modules/tools/lookup/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tools/lookup/config.el b/modules/tools/lookup/config.el index 59a5e93c4..35179e360 100644 --- a/modules/tools/lookup/config.el +++ b/modules/tools/lookup/config.el @@ -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)))) ;;