There are a few kinks to iron out, but for the most part it's done. Doom Emacs, powered by straight. Goodbye gnutls and elpa/quelpa issues. This update doesn't come with rollback or lockfile support yet, but I will eventually include one with Doom, and packages will be (by default, anyway) updated in sync with Doom. Relevant threads: #1577 #1566 #1473
26 lines
555 B
EmacsLisp
26 lines
555 B
EmacsLisp
;;; core/cli/debug.el -*- lexical-binding: t; -*-
|
|
|
|
(load! "autoload/debug" doom-core-dir)
|
|
|
|
|
|
;;
|
|
;;; Commands
|
|
|
|
(def-command! info (&optional format)
|
|
"Output system info in markdown for bug reports."
|
|
(pcase format
|
|
("json"
|
|
(require 'json)
|
|
(with-temp-buffer
|
|
(insert (json-encode (doom-info)))
|
|
(json-pretty-print-buffer)
|
|
(print! (buffer-string))))
|
|
((or "md" "markdown")
|
|
(doom/info))
|
|
(_ (doom/info 'raw)))
|
|
nil)
|
|
|
|
(def-command! (version v) ()
|
|
"Reports the version of Doom and Emacs."
|
|
(doom/version)
|
|
nil)
|