diff options
author | David Morgan <djm_uk@protonmail.com> | 2021-09-04 16:19:18 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2021-09-04 16:19:18 +0100 |
commit | 945eca786b9c1747b57e5d6fd9969065a9ff5850 (patch) | |
tree | bb21880dc927454ecc925d5be17f25760c093c2d /.emacs.d/lisp/init-editor.el | |
parent | 8c8117baa77e096279a589052ef65ea4e5a9c2d1 (diff) | |
download | dotfiles-945eca786b9c1747b57e5d6fd9969065a9ff5850.tar.gz |
Add a comment about xref-prompt-for-identifier
Diffstat (limited to '.emacs.d/lisp/init-editor.el')
-rw-r--r-- | .emacs.d/lisp/init-editor.el | 3 |
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) |