branch: elpa/annotate
commit 6289c87bf86bddbcaf684aad0b88a14b65889b4b
Author: Bastian <[email protected]>
Commit: Bastian <[email protected]>

    annotation buffer now has proper file name
---
 annotate.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/annotate.el b/annotate.el
index c3651653ec..9065902406 100644
--- a/annotate.el
+++ b/annotate.el
@@ -148,7 +148,9 @@ An example might look like this:
 This diff does not contain any changes, but highlights the
 annotation, and can be conveniently viewed in diff-mode."
   (interactive)
-  (let ((export-buffer (generate-new-buffer "*annotations*"))
+  (let ((export-buffer (generate-new-buffer (concat
+                                             (buffer-file-name)
+                                             ".annotations.diff")))
         (annotations (annotate-describe-annotations))
         (filename (buffer-file-name)))
     ;; write the diff file description

Reply via email to