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

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

[elpa] externals/ebdb 5dda311 118/350: Force mode line update after rena


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb 5dda311 118/350: Force mode line update after renaming EBDB buffers
Date: Mon, 14 Aug 2017 11:46:18 -0400 (EDT)

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

    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

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