Make bin/doom options consistent & improve errors/docs
This commit is contained in:
parent
829ad8c8b7
commit
44c694da47
8 changed files with 66 additions and 34 deletions
3
bin/doom
3
bin/doom
|
@ -95,7 +95,8 @@
|
|||
(condition-case e
|
||||
(doom-dispatch (car args) (cdr args))
|
||||
(user-error
|
||||
(signal (car e) (cdr e)))
|
||||
(print! (error "%s\n") (error-message-string e))
|
||||
(print! (yellow "See 'doom help %s' for documentation on this command.") (car args)))
|
||||
((debug error)
|
||||
(message "--------------------------------------------------\n")
|
||||
(message "There was an unexpected error:")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue