Simplify doom/info output

This commit is contained in:
Henrik Lissner
2020-10-20 23:21:11 -04:00
parent b4e66bffeb
commit 9b4fd806bb
2 changed files with 10 additions and 14 deletions

View File

@@ -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)))