Remove doom//x naming convention

This naming convention was meant to be for batch commands, but it grew
to include "commands that were helpful with managing Doom", but many of
these commands shouldn't be interactive in the first place!
This commit is contained in:
Henrik Lissner 2018-06-17 21:35:58 +02:00
parent 648f4bb585
commit 03022d09f9
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
11 changed files with 85 additions and 97 deletions

View file

@ -1,16 +1,15 @@
;;; core/core-tests.el -*- lexical-binding: t; -*-
(defun doom//run-tests (&optional modules)
(defun doom-run-tests (&optional modules)
"Run all loaded tests, specified by MODULES (a list of module cons cells) or
command line args following a double dash (each arg should be in the
'module/submodule' format).
If neither is available, run all tests in all enabled modules."
(interactive)
(let (noninteractive)
;; Core libraries aren't fully loaded in a noninteractive session, so we
;; reload it with `noninteractive' set to nil to force them to.
(quiet! (doom//reload-autoloads))
(quiet! (doom-reload-autoloads))
(doom-initialize t))
(let ((target-paths
;; Convert targets into a list of string paths, pointing to the root