diff options
author | Alan Third <alan@idiocy.org> | 2018-08-11 14:37:37 +0100 |
---|---|---|
committer | Alan Third <alan@idiocy.org> | 2018-08-11 14:37:37 +0100 |
commit | e39f975ee9e0b9f3682ee4b86800821d2e40aaa8 (patch) | |
tree | 213a0f3172d10f941a03cbea578d6188c8dbd320 /lisp/progmodes/xref.el | |
parent | ef1abd99fafc9177058438cdf84776441ce62fc5 (diff) | |
parent | 914b0300bcca8ac016b85df54ed36c98d07c74a7 (diff) | |
download | emacs-scratch/ns-drawing.tar.gz |
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs into ns-drawingscratch/ns-drawing
Diffstat (limited to 'lisp/progmodes/xref.el')
-rw-r--r-- | lisp/progmodes/xref.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index 7bd1668cf4e..c85fe676da2 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -869,7 +869,11 @@ buffer where the user can select from the list." ;;;###autoload (defun xref-find-references (identifier) "Find references to the identifier at point. -With prefix argument, prompt for the identifier." +This command might prompt for the identifier as needed, perhaps +offering the symbol at point as the default. +With prefix argument, or if `xref-prompt-for-identifier' is t, +always prompt for the identifier. If `xref-prompt-for-identifier' +is nil, prompt only if there's no usable symbol at point." (interactive (list (xref--read-identifier "Find references of: "))) (xref--find-xrefs identifier 'references identifier nil)) |