mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-05 07:01:11 -08:00
Fix a use of 'cl-defgeneric'.
* lisp/progmodes/xref.el (xref-match-length): Use 'cl-defmethod' instead of 'cl-defgeneric'.
This commit is contained in:
parent
06488ded6b
commit
6ed3f04e5a
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ This behavior is new in Emacs 28.")
|
|||
"A match xref item describes a search result."
|
||||
length)
|
||||
|
||||
(cl-defgeneric xref-match-length ((item xref-match-item))
|
||||
(cl-defmethod xref-match-length ((item xref-match-item))
|
||||
"Return the length of the match."
|
||||
(xref-match-item-length item))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue