aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Leung <leungbk@mailfence.com>2019-12-05 14:22:40 -0800
committerEivind Fonn <evfonn@gmail.com>2019-12-17 10:13:38 +0100
commit860b82e03b403dc6d796f5b0c4319b68947e1bef (patch)
tree9b3e41eab98427f327a886a4484b48ac958b20ca
parent6b9eedaf57d98ee0d2a62e6c5b4adb4ed634fce2 (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 84d7c30..767edf0 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)