diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2016-10-29 14:14:14 -0700 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2016-10-29 14:14:14 -0700 |
commit | 18e66fa23c13a9a312b33b4713f1c45005d1b9de (patch) | |
tree | 3961e8c4ad25baddb19dc69abdb441424d823259 | |
parent | [emacs] A few more fixes (diff) | |
download | emacs.d-18e66fa23c13a9a312b33b4713f1c45005d1b9de.tar.gz |
[emacs] Move server configuration at the top.
-rw-r--r-- | emacs.d/init.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el index 7aa0a77..54fe001 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -22,6 +22,10 @@ (use-package my-settings) (use-package my-functions) +(use-package server + :config + (unless (server-running-p) (server-start))) + ;; other packages (use-package ag :ensure t @@ -374,10 +378,7 @@ (define-key emacs-lisp-mode-map (kbd "C-c C-e") 'eval-buffer) (define-key emacs-lisp-mode-map (kbd "C-c C-r") 'eval-region) -;; start the server if not already running -(require 'server) -(unless (server-running-p) - (server-start)) + (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. |