[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb 01262e3 277/350: Mark EBDB buffers as modified aft
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb 01262e3 277/350: Mark EBDB buffers as modified after edits |
Date: |
Mon, 14 Aug 2017 11:46:53 -0400 (EDT) |
branch: externals/ebdb
commit 01262e356f17b8d5a51502fff2c45cca5fcb5ad6
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Mark EBDB buffers as modified after edits
* ebdb-com.el (ebdb-with-record-edits, ebdb-create-record): Mark
all *EBDB* buffers as modified.
---
ebdb-com.el | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/ebdb-com.el b/ebdb-com.el
index d9c74ed..2be9e91 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -1556,6 +1556,9 @@ actually-editable records."
(run-hook-with-args 'ebdb-change-hook ,(car spec))
,@body
(run-hook-with-args 'ebdb-after-change-hook ,(car spec)))
+ (dolist (b (buffer-list))
+ (when (derived-mode-p 'ebdb-mode)
+ (set-buffer-modified-p t)))
(ebdb-redisplay-records ,editable-records 'reformat))))
;;;###autoload
@@ -1578,7 +1581,10 @@ in `ebdb-db-list', using its default record class. Use
(ebdb-db-add-record db record)
(ebdb-init-record record)
(run-hook-with-args 'ebdb-after-change-hook record)
- (ebdb-display-records (list record) ebdb-default-multiline-formatter
t))
+ (ebdb-display-records (list record) ebdb-default-multiline-formatter t)
+ (dolist (b (buffer-list))
+ (when (derived-mode-p 'ebdb-mode)
+ (set-buffer-modified-p t))))
(ebdb-readonly-db
(message "%s is read-only" (ebdb-string db)))
(ebdb-unsynced-db
- [elpa] externals/ebdb 4ce353e 237/350: Migrate more search routines to the ebdb-search-display thing, (continued)
- [elpa] externals/ebdb 4ce353e 237/350: Migrate more search routines to the ebdb-search-display thing, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 7040cad 247/350: Expand ebdb-helm to complete on mails as well, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb a6bc423 249/350: Remove unused customization groups, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 4ded53d 250/350: All vCard lines should be delimited with CRLF, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb a776d37 248/350: Don't use copy-sequence plus add-text-properties on strings, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 96b113d 251/350: New functions for folding/unfolding long vCard lines, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb b52cdc0 265/350: Record-insert|delete-field methods can find their own slots, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb fcee6ab 267/350: Protect against no current record when redisplaying, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb f3b9525 269/350: Temporarily abandon having record-change-name accept strings, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 1a31515 274/350: Fixes to record loading, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 01262e3 277/350: Mark EBDB buffers as modified after edits,
Eric Abrahamsen <=
- [elpa] externals/ebdb cc83f62 197/350: Add protection around ebdb-record-uuid, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 4f3db7f 195/350: Save match data around ebdb-parse-i18n, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb fcf0702 275/350: Mark EBDB buffers as unmodified after save, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 88f5e12 261/350: Fill out functionality of gnorb messages field, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb a81769c 272/350: Allow custom hash predicates, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb e80753a 264/350: Change ebdb-record-change-name to accept strings, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb d3e1485 283/350: Reinstate the notice record hook, and move notice-record method, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb d8bc159 290/350: Fairly embarrassing oversight in setting ebdb buffers modified, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb afe5495 279/350: Adjust indentation of multi-line field values, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb bbe407e 257/350: Code tweaks and re-arrangments, Eric Abrahamsen, 2017/08/14