summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-03-23 00:48:30 -0400
committerKyle Meyer <kyle@kyleam.com>2015-03-23 00:48:30 -0400
commit8eebc46e129d2f32597d9e58772af2aac4a86d26 (patch)
treedb6873dd285a518541604fe9ad9dc5719bc046f1 /lisp
parent8894f0436e42ddb132f316e3f6f1f9939cd6fa0d (diff)
downloademacs.d-8eebc46e129d2f32597d9e58772af2aac4a86d26.tar.gz
Use a second daemon for Gnus
Follow setup described in http://tychoish.com/posts/running-multiple-emacs-daemons-on-a-single-system/
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-mail.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/lisp/init-mail.el b/lisp/init-mail.el
new file mode 100644
index 0000000..0163420
--- /dev/null
+++ b/lisp/init-mail.el
@@ -0,0 +1,10 @@
+
+(require 'init-gnus)
+
+(if (equal (daemonp) "mail")
+ (progn
+ (setq mode-line-misc-info (cons " [Mail] " mode-line-misc-info))
+ (key-chord-define-global "jg" 'km/mail-map))
+ (global-set-key (kbd "C-x m") nil))
+
+(provide 'init-mail)