From 6cd580c3befca69b3eac6780679a368c1cbaefc6 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 14 Sep 2012 09:56:35 +0200 Subject: .emacs.d/init.el --- .emacs.d/init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.emacs.d') diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 22e79d2..fd03cd2 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1036,8 +1036,9 @@ for easy selection." (global-set-key (kbd "M-n") 'idomenu) (global-set-key (kbd "\"") 'oni:self-insert-dwim) -(when (daemonp) - (global-set-key "\C-x\C-c" 'oni:close-client-window)) +(if (daemonp) + (global-set-key "\C-x\C-c" 'oni:close-client-window) + (server-start)) (when (or window-system (daemonp)) (global-unset-key "\C-z")) -- cgit v1.2.3-54-g00ecf