[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 6ed3f04e5a: Fix a use of 'cl-defgeneric'.
From: |
Philipp Stephani |
Subject: |
master 6ed3f04e5a: Fix a use of 'cl-defgeneric'. |
Date: |
Thu, 17 Mar 2022 08:07:37 -0400 (EDT) |
branch: master
commit 6ed3f04e5a3c8aee40a26805bb00cdd070eba319
Author: Philipp Stephani <phst@google.com>
Commit: Philipp Stephani <phst@google.com>
Fix a use of 'cl-defgeneric'.
* lisp/progmodes/xref.el (xref-match-length): Use 'cl-defmethod'
instead of 'cl-defgeneric'.
---
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 a5e6edf951..5d1ba4eaf5 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 6ed3f04e5a: Fix a use of 'cl-defgeneric'.,
Philipp Stephani <=