helm: remove unnecessary setting on xref-show-xrefs-function
For `helm` users, we set `xref-show-xrefs-function` according to Emacs version.
This is a two-fold unnecessity:
- We now only support Emacs version > 27, so `hellm-xref-show-xrefs` should not
be used anyway.
- `hem-xref` already set this variable according to Emacs version. See
[here][ref].
This commit removes this.
ref: ea0e4ed8a9/helm-xref.el (L192-L197)
This commit is contained in:
parent
a611a602c0
commit
7706f0ffd2
1 changed files with 1 additions and 6 deletions
|
@ -481,12 +481,7 @@
|
|||
xref-find-definitions-other-window
|
||||
xref-find-definitions-other-frame
|
||||
xref-find-references
|
||||
spacemacs/jump-to-definition))
|
||||
;; Use helm-xref to display `xref.el' results.
|
||||
(setq xref-show-xrefs-function (if (< emacs-major-version 27)
|
||||
#'helm-xref-show-xrefs
|
||||
#'helm-xref-show-xrefs-27)))))
|
||||
|
||||
spacemacs/jump-to-definition)))))
|
||||
|
||||
(defun helm/post-init-imenu ()
|
||||
(spacemacs/set-leader-keys "ji" 'spacemacs/helm-jump-in-buffer))
|
||||
|
|
Reference in a new issue