doom/describe-modules: no initial input, instead set default

This commit is contained in:
Henrik Lissner 2018-05-14 18:32:26 +02:00
parent f2eedb44dc
commit e3e0cb7e68
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -92,7 +92,7 @@ in, or d) the module associated with the current major mode (see
(list (completing-read "Describe module: "
(cl-loop for (module . sub) in (reverse (hash-table-keys doom-modules))
collect (format "%s %s" module sub))
nil t module))))
nil t nil nil module))))
(cl-destructuring-bind (category submodule)
(mapcar #'intern (split-string module " "))
(unless (doom-module-p category submodule)