branch: externals/ebdb
commit d8bc1593632506b00ecdc87e39e9c78257f81ec9
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>
Fairly embarrassing oversight in setting ebdb buffers modified
* ebdb-com.el (ebdb-with-record-edits): We'll need to actually use the
buffer...
---
ebdb-com.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/ebdb-com.el b/ebdb-com.el
index d560153..b6fb483 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -1557,8 +1557,9 @@ actually-editable records."
,@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)))
+ (with-current-buffer b
+ (when (derived-mode-p 'ebdb-mode)
+ (set-buffer-modified-p t))))
(ebdb-redisplay-records ,editable-records 'reformat))))
;;;###autoload