diff options
-rw-r--r-- | init.el | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -126,15 +126,14 @@ ;;;; yes/no, bell, startup message -(if (version< emacs-version "28") - (fset 'yes-or-no-p 'y-or-n-p) - (setq use-short-answers t)) +(setq use-short-answers t) (setq inhibit-startup-message t) (setq visible-bell t) ;;;; server (setenv "EDITOR" "emacsclient") -(unless (daemonp) (server-start)) +(require 'server) +(unless (or (daemonp) (server-running-p)) (server-start)) ;;;; timers (put 'list-timers 'disabled nil) |