doom--module-pairs => doom-module-pairs

This commit is contained in:
Henrik Lissner 2017-11-08 22:45:52 +01:00
parent f65b6fcddd
commit 211977e28a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 7 additions and 7 deletions

View file

@ -25,7 +25,7 @@ submodule in the format, e.g. ':feature evil')."
nil t)))
(cl-destructuring-bind (category submodule)
(mapcar #'intern (split-string module " "))
(unless (member (cons category submodule) (doom--module-pairs))
(unless (member (cons category submodule) (doom-module-pairs))
(error "'%s' isn't a valid module" module))
(let ((doc-path (expand-file-name "README.org" (doom-module-path category submodule))))
(unless (file-exists-p doc-path)

View file

@ -41,7 +41,7 @@ If neither is available, run all tests in all enabled modules."
(let ((noninteractive t)
doom-modules)
(load (expand-file-name "init.test.el" user-emacs-directory) nil t)
(setq modules (doom--module-pairs)
(setq modules (doom-module-pairs)
targets (list (expand-file-name "test/" doom-core-dir))))))
;; resolve targets to a list of test files and load them
(cl-loop with targets =