diff options
author | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-29 16:35:40 -0400 |
---|---|---|
committer | Mountain Man <43313373+MountainMan1312@users.noreply.github.com> | 2023-05-29 16:35:40 -0400 |
commit | 7f3d7424f0174acc7f6eb86b2e3a58737891e114 (patch) | |
tree | ff7d7180ff3b90dbbf4e953a56311da2ee4a9afd /init.el | |
parent | Refactor `debug-on-error` into new Startup Section (diff) | |
download | mmosmacs-7f3d7424f0174acc7f6eb86b2e3a58737891e114.tar.gz mmosmacs-7f3d7424f0174acc7f6eb86b2e3a58737891e114.tar.bz2 mmosmacs-7f3d7424f0174acc7f6eb86b2e3a58737891e114.zip |
Start Emacs server at end of init
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -1099,3 +1099,22 @@ | |||
1099 | 1099 | ||
1100 | (global-set-key (kbd "M-;") 'comment-line) | 1100 | (global-set-key (kbd "M-;") 'comment-line) |
1101 | (global-set-key (kbd "C-M-;") 'comment-or-uncomment-region) | 1101 | (global-set-key (kbd "C-M-;") 'comment-or-uncomment-region) |
1102 | |||
1103 | |||
1104 | ;; --------------------------------------------------------------------- | ||
1105 | ;;; End of MMOSMacs configuration | ||
1106 | ;; ------------------------------ | ||
1107 | |||
1108 | ;; --------------------------------- | ||
1109 | ;; Start Emacs Server | ||
1110 | ;; ------------------ | ||
1111 | ;; This is the last step of MMOSMacs | ||
1112 | ;; configuration. | ||
1113 | ;; --------------------------------- | ||
1114 | |||
1115 | (add-hook 'after-init-hook (lambda () | ||
1116 | (require 'server) | ||
1117 | (unless (server-running-p) | ||
1118 | (server-start)))) | ||
1119 | |||
1120 | ;;; init.el ends here | ||