[Top][All Lists]

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

[elpa] externals/ebdb 4a78f58 2/9: Fix redisplay in ebdb-with-record-edi

From: Eric Abrahamsen
Subject: [elpa] externals/ebdb 4a78f58 2/9: Fix redisplay in ebdb-with-record-edits
Date: Tue, 13 Aug 2019 21:46:50 -0400 (EDT)

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

    Fix redisplay in ebdb-with-record-edits
    * ebdb-com.el (ebdb-with-record-edits): Redisplay in all EBDB buffers
      if the current buffer isn't in ebdb-mode. Mostly this affects using
      the customize interface to edit field data, because this macro is
      then called outside of the EBDB buffer.
 ebdb-com.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ebdb-com.el b/ebdb-com.el
index d428d22..73e8ceb 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -1668,7 +1668,10 @@ runs `ebdb-after-change-hook', and redisplays the 
           (with-current-buffer b
             (when (derived-mode-p 'ebdb-mode)
               (set-buffer-modified-p t))))
-        (ebdb-redisplay-records ,record 'reformat))
+        (ebdb-redisplay-records ,record 'reformat
+                                ;; If we're not in ebdb-mode,
+                                ;; redisplay in all EBDB buffers.
+                                (null (derived-mode-p 'ebdb-mode))))
       (let ((db (cadr err)))
        (ebdb-reload-database db)

reply via email to

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