Pass storage-file as a parameter to org-annotate-file-show-section
commitea5e6e0dda7e2a74d23ef404448b0e883ce74bb3
authorDavid Holm <dholmster@gmail.com>
Sat, 15 Mar 2014 17:53:37 +0000 (15 18:53 +0100)
committerBastien Guerry <bzg@altern.org>
Mon, 17 Mar 2014 01:00:12 +0000 (17 02:00 +0100)
tree15673b7fd6a00e986d8a89033826b8bb08224157
parent0f52f12a47f520d00766452e896d4bb8fd5104fe
Pass storage-file as a parameter to org-annotate-file-show-section

* contrib/lisp/org-annotate-file.el (org-annotate-file,
org-annotate-file-show-storage-section): Permit a used to control
where to store the annotation when using
`org-annotate-file-show-section`.

By making the storage file a parameter the user can create their own
custom implementations of org-annotate-file and decide where to store
the annotation.

Personally I'm trying to use org-annotate-file to do code reviews and
I have set up my Emacs to write annotations into a file at the current
project root.  This makes it easier for me to email my comments to
whoever wrote the code I just reviewed as I can now keep multiple
reviews separate.
contrib/lisp/org-annotate-file.el