changeset 275:7ffc6b1821f8

http://stackoverflow.com/questions/6397323/how-to-avoid-the-message-of-server-start-while-opening-another-emacs-session sadly doesnt help
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 10 Apr 2013 15:17:19 -0700
parents 102305dad796
children dc20e1fa93d0
files .emacs
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.emacs	Fri Apr 05 15:56:46 2013 -0700
+++ b/.emacs	Wed Apr 10 15:17:19 2013 -0700
@@ -1,4 +1,6 @@
-(server-start)
+(require 'server)
+(or (server-running-p)
+    (server-start))
 (if (boundp 'tool-bar-mode) (tool-bar-mode 0))
 (setq inhibit-startup-message t)
 (setq make-backup-files nil)