branch: externals/ebdb
commit 5dda311f26cfce21282f778c3c07151c4e8fe621
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>

    Force mode line update after renaming EBDB buffers
    
    * ebdb-com.el (ebdb-clone-buffer): Get the new name visible in the
    mode line.
---
 ebdb-com.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ebdb-com.el b/ebdb-com.el
index bdb168e..4ff2fbc 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -1297,7 +1297,8 @@ With prefix N move backwards N (sub)fields."
   (when (eql major-mode 'ebdb-mode)
     (rename-buffer
      (generate-new-buffer-name
-      (format "*%s-%s*" ebdb-buffer-name new-name)))))
+      (format "*%s-%s*" ebdb-buffer-name new-name)))
+    (force-mode-line-update)))
 
 ;; Unloading/Reloading/Disabling
 

Reply via email to