branch: externals/ebdb
commit 31bf2cf2d44bc3d1834798e2f4ce2ff0dc1fbef5
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>
No, that's not the proper way to create a &context catchall
* ebdb-mua.el (ebdb-mua-prepare-article): Just an empty argument list
will do.
---
ebdb-mua.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/ebdb-mua.el b/ebdb-mua.el
index 795abf5..356995e 100644
--- a/ebdb-mua.el
+++ b/ebdb-mua.el
@@ -1081,9 +1081,7 @@ Return the records matching ADDRESS or nil."
(nreverse new-records)))
-;; I hope this (&context (major-mode t)) is the proper way to create a
-;; &context catchall.
-(cl-defmethod ebdb-mua-prepare-article (&context (major-mode t))
+(cl-defmethod ebdb-mua-prepare-article ()
"Do whatever preparations are necessary to work on records
associated with the current message.