branch: elpa/annotate
commit 09d0cd89e458779ca375ac28bc664ee2e20db530
Merge: dedbd9e5d5 e1daa61b99
Author: Bastian Bechtold <bast...@users.noreply.github.com>
Commit: GitHub <nore...@github.com>

    Merge pull request #41 from conao3/change-save-file-path
    
    use `locate-user-emacs-file` to specify default save file
---
 annotate.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/annotate.el b/annotate.el
index c5d0314855..09aa162f43 100644
--- a/annotate.el
+++ b/annotate.el
@@ -68,7 +68,7 @@
 (define-key annotate-mode-map (kbd "C-c ]") 'annotate-next-annotation)
 (define-key annotate-mode-map (kbd "C-c [") 'annotate-previous-annotation)
 
-(defcustom annotate-file "~/.annotations"
+(defcustom annotate-file (locate-user-emacs-file "annotations" ".annotations")
   "File where annotations are stored."
   :type 'file
   :group 'annotate)

Reply via email to