We can always open frames and terminal sessions, so it makes sense to
just have the one Emacs.
;; Emacs server behaviour.
;; Emacs server behaviour.
-(and window-system
- (trap (gnuserv-start)
- (setq server-temp-file-regexp (concat "^" tmpdir "\\|/draft$"))))
+(and (or window-system (>= emacs-major-version 23))
+ (trap (setq server-temp-file-regexp (concat "^" tmpdir "\\|/draft$"))
+ (start-server)
+ (gnuserv-start)))
;; Control backup behaviour.
;; Control backup behaviour.