diff options
author | Kyle Meyer <kyle@kyleam.com> | 2013-12-13 13:31:20 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2013-12-13 13:33:20 -0500 |
commit | 697c602854326e8e230032aebb6ed913e8914c44 (patch) | |
tree | d3a67a37411c90891b6ea2c5005fcd6ebd6f211c /init | |
parent | bf0fd32caa22601fa856ae8c7878dc2e856744ac (diff) | |
download | emacs.d-697c602854326e8e230032aebb6ed913e8914c44.tar.gz |
Set default directory before mail sync
Otherwise, offlineimap may fail if I'm in a directory that has python
files with conflicting names
Diffstat (limited to 'init')
-rw-r--r-- | init/km-gnus.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init/km-gnus.el b/init/km-gnus.el index 8e22e28..077201d 100644 --- a/init/km-gnus.el +++ b/init/km-gnus.el @@ -20,7 +20,8 @@ (defun km/sync-mail () (interactive) - (let ((bufname (get-buffer-create "*Mail sync*"))) + (let ((bufname (get-buffer-create "*Mail sync*")) + (default-directory "~")) (with-current-buffer bufname (view-mode 1) (goto-char (point-max))) |