emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ebdb f48a510 5/7: Redisplay records after customizing a


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb f48a510 5/7: Redisplay records after customizing a mail field
Date: Thu, 17 May 2018 23:33:06 -0400 (EDT)

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

    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 
edited."
           ;; primary.
           (ebdb-record-change-field
            rec (car all-mails)
-           (clone (car all-mails) :priority 'primary))))))
+           (clone (car all-mails) :priority 'primary))))
+    (ebdb-redisplay-records rec 'reformat)))
 
 ;;;###autoload
 (defun ebdb-edit-foo (record field)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]