mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-25 15:00:45 -08:00
Provide a default for xref-find-apropos pattern
* lisp/progmodes/xref.el (xref-find-apropos): Provide a default for the pattern (bug#49731).
This commit is contained in:
parent
232be9bf87
commit
f65958a94d
1 changed files with 3 additions and 1 deletions
|
|
@ -1356,7 +1356,9 @@ This command is intended to be bound to a mouse event."
|
|||
The argument has the same meaning as in `apropos'."
|
||||
(interactive (list (read-string
|
||||
"Search for pattern (word list or regexp): "
|
||||
nil 'xref--read-pattern-history)))
|
||||
nil 'xref--read-pattern-history
|
||||
(xref-backend-identifier-at-point
|
||||
(xref-find-backend)))))
|
||||
(require 'apropos)
|
||||
(let* ((newpat
|
||||
(if (and (version< emacs-version "28.0.50")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue