Refactor doom/info

This commit is contained in:
Henrik Lissner
2017-12-31 18:32:34 -05:00
parent 79ca2b2911
commit 189e401197

View File

@ -92,9 +92,9 @@ selection of all minor-modes, active or not."
"Collects information about this session of Doom Emacs and copies it to the
clipboard. Helpful when filing bug reports!"
(interactive)
(message "Producing information about your system...")
(with-temp-buffer
(message "Producing information about your system...")
(call-process (expand-file-name "bin/doom-doctor" doom-emacs-dir) nil t)
(ansi-color-apply-on-region (point-min) (point-max))
(kill-new (buffer-string)))
(message "Copied to clipboard!"))
(kill-new (buffer-string))
(message "Done. Copied to clipboard!")))