Remove unused doom-inhibit-reload
This commit is contained in:
parent
21ecf48cca
commit
4c19cd3e28
1 changed files with 1 additions and 4 deletions
|
@ -60,9 +60,6 @@ missing) and shouldn't be deleted.")
|
||||||
(defvar doom-init-time nil
|
(defvar doom-init-time nil
|
||||||
"The time it took, in seconds, for DOOM Emacs to initialize.")
|
"The time it took, in seconds, for DOOM Emacs to initialize.")
|
||||||
|
|
||||||
(defvar doom-inhibit-reload nil
|
|
||||||
"If non-nil, remote reload calls (via the server) will be ignored.")
|
|
||||||
|
|
||||||
(defvar doom--site-load-path load-path
|
(defvar doom--site-load-path load-path
|
||||||
"The load path of built in Emacs libraries.")
|
"The load path of built in Emacs libraries.")
|
||||||
|
|
||||||
|
@ -392,7 +389,7 @@ server, if necessary) by `doom/packages-install', `doom/packages-update' and
|
||||||
(unless (ignore-errors (server-eval-at "server" '(doom/reload t)))
|
(unless (ignore-errors (server-eval-at "server" '(doom/reload t)))
|
||||||
(message "Recompiling")
|
(message "Recompiling")
|
||||||
(doom/recompile)))
|
(doom/recompile)))
|
||||||
(if (and ignorable-p doom-inhibit-reload)
|
(if ignorable-p
|
||||||
(message "Ignored a reload request from server")
|
(message "Ignored a reload request from server")
|
||||||
(doom-initialize t)
|
(doom-initialize t)
|
||||||
(doom/recompile)
|
(doom/recompile)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue