aboutsummaryrefslogtreecommitdiff
path: root/bard-emacs-modules
diff options
context:
space:
mode:
authorDaniel <[email protected]>2024-04-10 17:14:20 -0400
committerDaniel <[email protected]>2024-04-10 17:14:20 -0400
commitf0d10eab6b53171ceb9099cea64b5ef43c7e337a (patch)
treeb78fcda8fef9a0705a71dbda40f13ac6ebbcd813 /bard-emacs-modules
parent31d602f1cc12dadd153a89f13c4a7e428b76a0c9 (diff)
start emacs as server
Diffstat (limited to 'bard-emacs-modules')
-rw-r--r--bard-emacs-modules/bard-emacs-essentials.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/bard-emacs-modules/bard-emacs-essentials.el b/bard-emacs-modules/bard-emacs-essentials.el
index d9a6219..a6cddb0 100644
--- a/bard-emacs-modules/bard-emacs-essentials.el
+++ b/bard-emacs-modules/bard-emacs-essentials.el
@@ -135,5 +135,10 @@
(define-key global-map (kbd "C-c t r") #'tmr-remove)
(define-key global-map (kbd "C-c t R") #'tmr-remove-finished))
+;; running emacs as server
+(require 'server)
+(setq server-client-instructions nil)
+(unless (server-running-p)
+ (server-start))
(provide 'bard-emacs-essentials)