Modify server start
This commit is contained in:
parent
f2993e57fd
commit
2ccf58ee0f
2 changed files with 6 additions and 8 deletions
|
@ -20,7 +20,7 @@
|
|||
(menu-bar-lines . 0)
|
||||
(undecorated . t))))
|
||||
'(delete-selection-mode t)
|
||||
'(desktop-save-mode t)
|
||||
'(desktop-save-mode nil)
|
||||
'(diary-file "~/Documents/Diary/diary")
|
||||
'(display-battery-mode t)
|
||||
'(display-line-numbers nil)
|
||||
|
|
12
init.el
12
init.el
|
@ -1,5 +1,8 @@
|
|||
(require 'package)
|
||||
;; start a server, unless one is already running
|
||||
(require 'server)
|
||||
(unless (server-running-p) (server-start))
|
||||
|
||||
(require 'package)
|
||||
;; Added by Package.el. This must come before configurations of
|
||||
;; installed packages. Don't delete this line. If you don't want it,
|
||||
;; just comment it out by adding a semicolon to the start of the line.
|
||||
|
@ -29,7 +32,7 @@ There are two things you can do about this warning:
|
|||
(when (eq system-type 'gnu/linux)
|
||||
(load-theme 'nord))
|
||||
(unless (eq system-type 'gnu/linux)
|
||||
(load-theme 'spacemacs-dark))
|
||||
(load-theme 'nord))
|
||||
|
||||
;; Load my custom bundles
|
||||
(add-to-list 'load-path (expand-file-name "~/.emacs.d/bundle"))
|
||||
|
@ -41,11 +44,6 @@ There are two things you can do about this warning:
|
|||
(require 'display)
|
||||
(require 'hooks)
|
||||
|
||||
;; start a server, unless one is already running
|
||||
(when (require 'server nil t)
|
||||
(unless (server-running-p)
|
||||
(server-start)))
|
||||
|
||||
;; UTF-8 FTW
|
||||
(prefer-coding-system 'utf-8)
|
||||
(set-default-coding-systems 'utf-8)
|
||||
|
|
Loading…
Add table
Reference in a new issue