Start Emacs server on init if one is not already running
This commit is contained in:
parent
04803253d7
commit
63f52ff27b
14
config.org
14
config.org
@ -46,6 +46,20 @@
|
|||||||
(setq use-package-always-ensure t)
|
(setq use-package-always-ensure t)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
* Emacs Server
|
||||||
|
Start an Emacs server if one is not running already:
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(require 'server)
|
||||||
|
(unless (server-running-p)
|
||||||
|
(server-start))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
With this, files opened with =emacsclient= in a terminal will open
|
||||||
|
in Emacs. Most of the time I use Emacs itself for my file browsing
|
||||||
|
and terminal needs but =emacsclient= is still handy from
|
||||||
|
time-to-time.
|
||||||
|
|
||||||
* UI
|
* UI
|
||||||
The start-up message gets pretty annoying, so disable that.
|
The start-up message gets pretty annoying, so disable that.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user