branch: externals/ebdb
commit f48a510bbb9a8ac0e6977c2dc5cb55c9e244b9e4
Author: Eric Abrahamsen <>
Commit: Eric Abrahamsen <>

    Redisplay records after customizing a mail field
    * ebdb-com.el (eieio-done-customizing): The :around method runs
      with-record-edits, but this :after method happens _after_ that,
      meaning that we still need to redisplay the record.
 ebdb-com.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ebdb-com.el b/ebdb-com.el
index 69d8f1e..469f6c1 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -1780,7 +1780,8 @@ Check that some mail is marked as primary after MAIL is 
           ;; primary.
            rec (car all-mails)
-           (clone (car all-mails) :priority 'primary))))))
+           (clone (car all-mails) :priority 'primary))))
+    (ebdb-redisplay-records rec 'reformat)))
 (defun ebdb-edit-foo (record field)

Reply via email to