Minor refactor & revision across the board

This commit is contained in:
Henrik Lissner 2019-09-03 00:59:17 -04:00
parent 4ce86b06d4
commit 81ee250c09
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
7 changed files with 13 additions and 10 deletions

View file

@ -91,11 +91,11 @@
(doom-initialize 'force-p)
(doom-initialize-modules)
(cond ((and (not (cdr args))
(member (car args) '("help" "h")))
(usage))
((not args)
(print! (error "No command detected.\n"))
(cond ((or (not args)
(and (not (cdr args))
(member (car args) '("help" "h"))))
(unless args
(print! (error "No command detected.\n")))
(usage))
((require 'core-cli)
(let ((default-directory user-emacs-directory))