summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-09-23 01:03:19 +0100
committerjao <jao@gnu.org>2022-09-23 01:04:05 +0100
commit1a8208e0b7d17ec79179a0baa9cb4ced9e104cf6 (patch)
tree6d3ccc704672488db4bcdb59c6f9f691f7ec5787
parent98a50e654992a3797f3b433747cc5644b696c544 (diff)
downloadelibs-1a8208e0b7d17ec79179a0baa9cb4ced9e104cf6.tar.gz
elibs-1a8208e0b7d17ec79179a0baa9cb4ced9e104cf6.tar.bz2
nits
-rw-r--r--init.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/init.el b/init.el
index 958a61a..c753acd 100644
--- a/init.el
+++ b/init.el
@@ -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)