From 4ff6da203669a3d47658d40fefb13c7ec45cf763 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 1 Sep 2015 00:06:06 -0400 Subject: Remove sync-mail function --- lisp/init-mail.el | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'lisp') diff --git a/lisp/init-mail.el b/lisp/init-mail.el index 1fd9fe8..3aa14ba 100644 --- a/lisp/init-mail.el +++ b/lisp/init-mail.el @@ -24,19 +24,6 @@ (add-hook 'kill-emacs-hook 'gnus-grace-exit-before-kill-emacs) -(defun km/sync-mail () - (interactive) - (let ((buf (get-buffer-create "*Mail sync*")) - (default-directory "~/") - (process "mail-sync")) - (with-current-buffer buf - (view-mode 1) - (goto-char (point-max))) - (display-buffer buf) - (if (process-live-p process) - (message "Mail sync process is already running") - (start-process process buf "sync-mail")))) - ;; http://www.emacswiki.org/emacs/GnusSync (defun gnus-grace-exit-before-kill-emacs () (if (and (fboundp 'gnus-alive-p) @@ -50,7 +37,6 @@ (define-key km/mail-map "g" 'gnus) (define-key km/mail-map "p" 'gnus-plugged) (define-key km/mail-map "u" 'gnus-unplugged) -(define-key km/mail-map "s" 'km/sync-mail) ;;; Gnus group buffer -- cgit v1.2.3