From 1efb0a82985154e21cd4dfd8a736eb38cd341e1f Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 20 Jun 2018 12:03:23 +0200 Subject: [PATCH] Rename core-dispatcher -> core-cli The file's role is easier to guess at a glance. --- core/autoload/help.el | 2 +- core/{core-dispatcher.el => core-cli.el} | 4 ++-- core/core.el | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename core/{core-dispatcher.el => core-cli.el} (99%) diff --git a/core/autoload/help.el b/core/autoload/help.el index b3e97d69d..aab7e9dcf 100644 --- a/core/autoload/help.el +++ b/core/autoload/help.el @@ -233,7 +233,7 @@ If called from an interactive session, tries to reload autoloads files (if necessary), reinistalize doom (via `doom-initialize') and reloads your private init.el and config.el. Then runs `doom-reload-hook'." (interactive "P") - (require 'core-dispatcher) + (require 'core-cli) (cond ((and noninteractive (not (daemonp))) (require 'server) (if (not (server-running-p)) diff --git a/core/core-dispatcher.el b/core/core-cli.el similarity index 99% rename from core/core-dispatcher.el rename to core/core-cli.el index 0c67eed0a..c57944a37 100644 --- a/core/core-dispatcher.el +++ b/core/core-cli.el @@ -819,5 +819,5 @@ module. This does not include your byte-compiled, third party packages.'" (abbreviate-file-name truepath))) finally do (print! (bold (green "Everything is clean"))))) -(provide 'core-dispatcher) -;;; core-dispatcher.el ends here +(provide 'core-cli) +;;; core-cli.el ends here diff --git a/core/core.el b/core/core.el index d86fa22f1..2d1adc193 100644 --- a/core/core.el +++ b/core/core.el @@ -399,7 +399,7 @@ to least)." (require 'core-lib) (require 'core-modules) (when noninteractive - (require 'core-dispatcher)) + (require 'core-cli)) (doom-initialize noninteractive) (unless noninteractive