branch: externals/ebdb commit fef6b85b6700367e8f796c6519b17743e10d960e Author: Eric Abrahamsen <e...@ericabrahamsen.net> Commit: Eric Abrahamsen <e...@ericabrahamsen.net>
Fix ebdb-mua-edit-sender-notes * ebdb-mua.el (ebdb-mua-edit-sender-notes): Update to new calling convention for ebdb-with-record-edits. --- ebdb-mua.el | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/ebdb-mua.el b/ebdb-mua.el index bf52f5c..b3e9ff3 100644 --- a/ebdb-mua.el +++ b/ebdb-mua.el @@ -1166,12 +1166,13 @@ where it was in the MUA, rather than quitting the EBDB buffer." 'existing)) notes) (when records - (ebdb-with-record-edits (record records) - (setq notes (ebdb-record-field record 'notes)) - (if notes - (ebdb-record-change-field record notes) - (setq notes (ebdb-read ebdb-default-notes-class)) - (ebdb-record-insert-field record notes))) + (dolist (record records) + (ebdb-with-record-edits record + (setq notes (ebdb-record-field record 'notes)) + (if notes + (ebdb-record-change-field record notes) + (setq notes (ebdb-read ebdb-default-notes-class)) + (ebdb-record-insert-field record notes)))) (ebdb-redisplay-records records 'reformat t)))) ;;;###autoload