diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-03-09 21:09:50 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-03-09 21:12:17 -0400 |
commit | 9168f771b9de06594ad3c81aa283b706266892b7 (patch) | |
tree | bd2f7166c2e02bbca99ba0f05b16f651d5f5792d /lisp | |
parent | 20c037a0530260f2391c19d0e5a5d241a94febef (diff) | |
download | emacs.d-9168f771b9de06594ad3c81aa283b706266892b7.tar.gz |
Clean up gnus locations
- Don't hardcode gnus locations.
- Remove locations that are unused or that are already their default
values.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-gnus.el | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/lisp/init-gnus.el b/lisp/init-gnus.el index 611d320..99d024c 100644 --- a/lisp/init-gnus.el +++ b/lisp/init-gnus.el @@ -2,19 +2,13 @@ (setq ;; Locations - gnus-directory "~/.gnus.d" gnus-home-directory "~/.gnus.d" - message-directory "~/.gnus.d/mail" - message-auto-save-directory "~/.gnus.d/drafts" - nnml-directory "~/.gnus.d/nnml-mail" - nnfolder-directory "~/.gnus.d/mail/archive" - nnfolder-active-file "~/.gnus.d/mail/archive/active" - gnus-article-save-directory "~/.gnus.d/saved" - gnus-kill-files-directory "~/.gnus.d/scores" - gnus-cache-directory "~/.gnus.d/cache" + gnus-directory gnus-home-directory + gnus-article-save-directory (expand-file-name "saved" gnus-directory) + gnus-kill-files-directory (expand-file-name "scores" gnus-directory) ;; Startup files - gnus-startup-file (nnheader-concat gnus-home-directory "newsrc") - gnus-init-file (nnheader-concat gnus-home-directory "gnus") + gnus-startup-file (expand-file-name "newsrc" gnus-home-directory) + gnus-init-file (expand-file-name "gnus" gnus-home-directory) gnus-save-newsrc-file nil gnus-read-newsrc-file nil ;; Select methods |