about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-editor.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/init-editor.el')
-rw-r--r--.emacs.d/lisp/init-editor.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el
index 9b8e90d..7b896fc 100644
--- a/.emacs.d/lisp/init-editor.el
+++ b/.emacs.d/lisp/init-editor.el
@@ -193,6 +193,9 @@ and file 'filename' will be opened and cursor set on line 'linenumber'"
 (use-package xref
   :ensure nil
   :config
+  ;; 'xref-prompt-for-identifier begins with not, so adding this prevents
+  ;; prompting for an identifier when calling xref-find-references, unless
+  ;; there is no value at point that can be used
   (add-to-list 'xref-prompt-for-identifier 'xref-find-references t))
 
 (provide 'init-editor)