From 42c0b8f3f27c8700f1f432649f2466aab9127061 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 7 Jul 2018 12:01:08 +0300 Subject: Documentation followup for bug#32029 * etc/NEWS: Mention 'xref-find-definitions-at-mouse' * doc/emacs/maintaining.texi (Looking Up Identifiers): Document 'xref-find-definitions-at-mouse'. --- doc/emacs/maintaining.texi | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc/emacs/maintaining.texi') diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index df8c4479000..024fd9728c5 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi @@ -1813,6 +1813,8 @@ Find definitions of identifier, but display it in another window @item C-x 5 .@: @key{RET} Find definition of identifier, and display it in a new frame (@code{xref-find-definitions-other-frame}). +@item M-x xref-find-definitions-at-mouse +Find definition of identifier at mouse click. @item M-, Go back to where you previously invoked @kbd{M-.} and friends (@code{xref-pop-marker-stack}). @@ -1853,6 +1855,11 @@ former is @w{@kbd{C-x 4 .}} (@code{xref-find-definitions-other-window}), and the latter is @w{@kbd{C-x 5 .}} (@code{xref-find-definitions-other-frame}). + The command @code{xref-find-definitions-at-mouse} works like +@code{xref-find-definitions}, but it looks for the identifier name at +or around the place of a mouse event. This command is intended to be +bound to a mouse event, such as @kbd{C-M-mouse-1}, for example. + @findex xref-find-apropos @kindex C-M-. The command @kbd{C-M-.} (@code{xref-find-apropos}) finds the -- cgit v1.2.1