branch: externals/ebdb
commit 47967221b77b0e3c75b8fa53d766cda8bbe8e9c1
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>
Fix mail sorting
* ebdb.el: This was supposed to be an :after method, on
ebdb-record-insert-field, not a :before.
---
ebdb.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ebdb.el b/ebdb.el
index 4174e24..126fbc5 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -3014,7 +3014,7 @@ If FIELD doesn't specify a year, use the current year."
(cl-defmethod ebdb-record-organizations ((_record ebdb-record-entity))
nil)
-(cl-defmethod ebdb-record-insert-field :before ((record ebdb-record-entity)
+(cl-defmethod ebdb-record-insert-field :after ((record ebdb-record-entity)
(_mail ebdb-field-mail)
&optional _slot)
"After giving RECORD a new mail field, sort RECORD's mails by