[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb 5b4d834 01/15: Organization/role delete method nee
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb 5b4d834 01/15: Organization/role delete method needs to be an :around |
Date: |
Sun, 1 Apr 2018 06:02:44 -0400 (EDT) |
branch: externals/ebdb
commit 5b4d8345ed93f7719b7ad4e9b0d1c1fb3bd6a86b
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Organization/role delete method needs to be an :around
* ebdb.el (ebdb-record-delete-field): Otherwise it hits the existing
:around method, which first checks which slot on the organization
record can accept the role field, and then raises an error.
---
ebdb.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ebdb.el b/ebdb.el
index d3409fb..6f7a299 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -3423,9 +3423,9 @@ appropriate person record."
(let ((record (ebdb-gethash (slot-value old-field 'record-uuid) 'uuid)))
(cl-call-next-method record old-field new-field)))
-(cl-defmethod ebdb-record-delete-field ((_record ebdb-record-organization)
- (field ebdb-field-role)
- &optional slot)
+(cl-defmethod ebdb-record-delete-field :around ((_record
ebdb-record-organization)
+ (field ebdb-field-role)
+ &optional slot)
(let ((record (ebdb-gethash (slot-value field 'record-uuid) 'uuid)))
(cl-call-next-method record field slot)))
- [elpa] externals/ebdb updated (9e7a96f -> d60338c), Eric Abrahamsen, 2018/04/01
- [elpa] externals/ebdb 261454d 03/15: Return results of ebdb-loop-with-exit in correct order, Eric Abrahamsen, 2018/04/01
- [elpa] externals/ebdb bbfdc70 04/15: Set mail priority on record creation, Eric Abrahamsen, 2018/04/01
- [elpa] externals/ebdb 5b4d834 01/15: Organization/role delete method needs to be an :around,
Eric Abrahamsen <=
- [elpa] externals/ebdb 9ab7b56 07/15: Improvements to ebdb-edit-foo, Eric Abrahamsen, 2018/04/01
- [elpa] externals/ebdb a25e1eb 06/15: Use values from "slots" in role field ebdb-read, Eric Abrahamsen, 2018/04/01
- [elpa] externals/ebdb 9bd965b 02/15: Simplify ebdb-with-record-edits, Eric Abrahamsen, 2018/04/01
- [elpa] externals/ebdb 4bb77e3 11/15: Add mail deletion behavior, Eric Abrahamsen, 2018/04/01
- [elpa] externals/ebdb 27a1fa5 05/15: Move field manipulation "convenience logic" into ebdb-com, Eric Abrahamsen, 2018/04/01
- [elpa] externals/ebdb 70754b8 08/15: Fix unnecessary code in ebdb-follow-related, Eric Abrahamsen, 2018/04/01
- [elpa] externals/ebdb c3e06ee 12/15: Use quoted field class, Eric Abrahamsen, 2018/04/01
- [elpa] externals/ebdb a7e88d4 14/15: Update copyright dates, Eric Abrahamsen, 2018/04/01
- [elpa] externals/ebdb 7a5ce18 13/15: Handle mail priority after customization edits, Eric Abrahamsen, 2018/04/01
- [elpa] externals/ebdb d60338c 15/15: Bump version to 0.5, Eric Abrahamsen, 2018/04/01