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

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

[elpa] externals/ebdb 5ef1773 04/13: Allow overwriting of previous forma


From: Eric Abrahamsen
Subject: [elpa] externals/ebdb 5ef1773 04/13: Allow overwriting of previous formatting buffers
Date: Tue, 15 Jan 2019 11:15:50 -0500 (EST)

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

    Allow overwriting of previous formatting buffers
    
    * ebdb-com.el (ebdb-format-to-tmp-buffer): This was the point of
      giving different formatters their own buffer name -- we /should/
      overwrite previous formatting buffers of the same type. Users can
      save them if they've got what they want.
---
 ebdb-com.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ebdb-com.el b/ebdb-com.el
index a4fe984..5032302 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -3025,7 +3025,7 @@ message."
   (interactive
    (list (ebdb-prompt-for-formatter)
         (ebdb-do-records)))
-  (let ((buf (generate-new-buffer
+  (let ((buf (get-buffer-create
              (slot-value formatter 'format-buffer-name)))
        (fmt-coding (slot-value formatter 'coding-system))
        (ebdb-p (object-of-class-p formatter 'ebdb-formatter-ebdb)))



reply via email to

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