Add server mode to the end of the configuration

This commit is contained in:
Gergely Polonkai 2018-10-19 09:26:04 +02:00
parent 60d61f1f4c
commit 14d445ccf3

View File

@ -3026,3 +3026,13 @@ directory. It is available from [[http://plantuml.com/download][here]].
(define-key 'help-command (kbd "C-k") 'find-function-on-key) (define-key 'help-command (kbd "C-k") 'find-function-on-key)
(define-key 'help-command (kbd "C-v") 'find-variable) (define-key 'help-command (kbd "C-v") 'find-variable)
#+END_SRC #+END_SRC
* And finally, server mode
Sometimes i start an ~emacsclient~ process, like for editing a commit message or something
similar. As my startup time is pretty long, waiting for everything to complete is undesirable.
#+BEGIN_SRC emacs-lisp
(require 'server)
(unless (server-running-p)
(server-start))
#+END_SRC