xref-find-by-kind fceb9d8db90: xref-find-by-kind: Delete " of" from the identifier prompt

Dmitry Gutov <[email protected]>
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: xref-find-by-kind
commit fceb9d8db906cccfc799020573943b41b5dcf738
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>

    xref-find-by-kind: Delete " of" from the identifier prompt
    
    * lisp/progmodes/xref.el (xref-find-by-kind): Delete " of" from
    the identifier prompt.  I've gone back and forth on this - it
    reads a bit better with Eglot (LSP kinds) but does not fit the
    Elisp backend.
---
 lisp/progmodes/xref.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index 6e9e1f82043..5526f9ddaeb 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -1831,7 +1831,7 @@ properties `:kind' and `:name'."
                   ;; "identifier completion table for kind".  But
                   ;; probably only the elisp backend would have it.
                   (xref--read-identifier
-                   (format-message "Find %s of: " (plist-get desc :name)))
+                   (format-message "Find %s: " (plist-get desc :name)))
                   desc)))
   (unless kind-desc (user-error "Have to choose the kind"))
   (xref--show-defs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.