branch: externals/ebdb commit 5ef17739148034c32edab7e0f3111e7659a666b3 Author: Eric Abrahamsen <e...@ericabrahamsen.net> Commit: Eric Abrahamsen <e...@ericabrahamsen.net>
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)))