aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Leung <leungbk@mailfence.com>2019-12-05 14:22:40 -0800
committerBrian Leung <leungbk@mailfence.com>2019-12-05 14:22:40 -0800
commitbde8783b0d6b45486b2aa6cd81440c107b9542d0 (patch)
tree90470337220b528811306a848fa7ba081de19564
parent93a146ca6e91ec515c32f766da9744faa297eb25 (diff)
Add declare-function invocation for xref-backend-identifier-at-point.
-rw-r--r--evil-commands.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/evil-commands.el b/evil-commands.el
index 9036337..a72ea41 100644
--- a/evil-commands.el
+++ b/evil-commands.el
@@ -2735,6 +2735,8 @@ The search is unbounded, i.e., the pattern is not wrapped in
(and (fboundp 'semantic-ia-fast-jump)
(ignore-errors (semantic-ia-fast-jump position))))
+(declare-function xref-backend-identifier-at-point "xref")
+
(defun evil-goto-definition-xref (_string position)
"Find definition at POSITION with xref."
(when (fboundp 'xref-find-definitions)