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

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

[elpa] externals/ebdb 83ec246: Don't mess with mode-line-modified in ebd


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb 83ec246: Don't mess with mode-line-modified in ebdb-mode
Date: Fri, 10 Jan 2020 18:03:40 -0500 (EST)

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

    Don't mess with mode-line-modified in ebdb-mode
    
    * ebdb-com.el (ebdb-mode): All this is done through the use of
    set-buffer-modified-p, don't fool with it manually.
---
 ebdb-com.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/ebdb-com.el b/ebdb-com.el
index d3bfbf9..02f837e 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -1245,9 +1245,7 @@ Derives from `special-mode'; the usual `special-mode' 
bindings apply.
                               (length (ebdb-records))))
               '(:eval (concat "  "
                               (ebdb-concat " " (elt ebdb-modeline-info 0)
-                                           (elt ebdb-modeline-info 1)))))
-        mode-line-modified
-        '(:eval (if (object-assoc t 'dirty ebdb-db-list) "**" "--")))
+                                           (elt ebdb-modeline-info 1))))))
   (set (make-local-variable 'revert-buffer-function)
        'ebdb-redisplay-all-records)
   ;; In newer Emacs, this will make EBDB buffers eligible for save by



reply via email to

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