From 89b1a7e0aaa7f9d1be4cadc2f366f13b07f29b65 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Fri, 20 Feb 2015 23:53:29 -0500 Subject: sync-mail: Rename variable --- lisp/init-gnus.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lisp') diff --git a/lisp/init-gnus.el b/lisp/init-gnus.el index a5011ff..cce82b8 100644 --- a/lisp/init-gnus.el +++ b/lisp/init-gnus.el @@ -30,16 +30,16 @@ (defun km/sync-mail () (interactive) - (let ((bufname (get-buffer-create "*Mail sync*")) + (let ((buf (get-buffer-create "*Mail sync*")) (default-directory "~/") (process "mail-sync")) - (with-current-buffer bufname + (with-current-buffer buf (view-mode 1) (goto-char (point-max))) - (display-buffer bufname) + (display-buffer buf) (if (process-live-p process) (message "Mail sync process is already running") - (start-process process bufname "sync-mail")))) + (start-process process buf "sync-mail")))) ;; http://www.emacswiki.org/emacs/GnusSync (defun gnus-grace-exit-before-kill-emacs () -- cgit v1.2.3