diff options
author | Kyle Meyer <kyle@kyleam.com> | 2013-12-12 00:36:35 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2013-12-13 13:33:19 -0500 |
commit | bf0fd32caa22601fa856ae8c7878dc2e856744ac (patch) | |
tree | 766fbd7d10b60c00960ba310e86aab4fc9c42292 | |
parent | 89bf9ed3c918a1f9e1bf8d8945dcccbc7c8fb941 (diff) | |
download | emacs.d-bf0fd32caa22601fa856ae8c7878dc2e856744ac.tar.gz |
Display buffer for mail sync
-rw-r--r-- | init/km-gnus.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/init/km-gnus.el b/init/km-gnus.el index e37ba1d..8e22e28 100644 --- a/init/km-gnus.el +++ b/init/km-gnus.el @@ -21,6 +21,10 @@ (defun km/sync-mail () (interactive) (let ((bufname (get-buffer-create "*Mail sync*"))) + (with-current-buffer bufname + (view-mode 1) + (goto-char (point-max))) + (display-buffer bufname) (start-process "mail sync" bufname km/sync-mail-cmd))) (defvar km/sync-mail-cmd "~/bin/sync-mail.sh" |