Simplify doom/info output
This commit is contained in:
parent
b4e66bffeb
commit
9b4fd806bb
2 changed files with 10 additions and 14 deletions
|
@ -15,10 +15,10 @@
|
|||
(insert (json-encode (doom-info)))
|
||||
(json-pretty-print-buffer)
|
||||
(print! (buffer-string))))
|
||||
("--md"
|
||||
(doom/info))
|
||||
((or `nil "--lisp")
|
||||
("--lisp"
|
||||
(doom/info 'raw))
|
||||
(`nil
|
||||
(doom/info))
|
||||
(_
|
||||
(user-error "I don't understand %S. Did you mean --json, --md/--markdown or --lisp?"
|
||||
format)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue