summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/km-gnus.el4
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"