From 7f3d7424f0174acc7f6eb86b2e3a58737891e114 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Mon, 29 May 2023 16:35:40 -0400 Subject: Start Emacs server at end of init --- init.el | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index 08fc41d..fe9009c 100644 --- a/init.el +++ b/init.el @@ -1099,3 +1099,22 @@ (global-set-key (kbd "M-;") 'comment-line) (global-set-key (kbd "C-M-;") 'comment-or-uncomment-region) + + +;; --------------------------------------------------------------------- +;;; End of MMOSMacs configuration +;; ------------------------------ + +;; --------------------------------- +;; Start Emacs Server +;; ------------------ +;; This is the last step of MMOSMacs +;; configuration. +;; --------------------------------- + +(add-hook 'after-init-hook (lambda () + (require 'server) + (unless (server-running-p) + (server-start)))) + +;;; init.el ends here -- cgit v1.2.3