Fix misplaced info in doom/info output

And update its docstring
This commit is contained in:
Henrik Lissner 2018-02-04 01:38:59 -05:00
parent 4262b9912c
commit 245ef02597
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -91,8 +91,8 @@ the profiling report otherwise."
;;;###autoload ;;;###autoload
(defun doom/info () (defun doom/info ()
"Collects some debug information about your Emacs session, and copies it to "Collects some debug information about your Emacs session, formats it into
your clipboard. Use this when you are filing bug reports!" markdown and copies it to your clipboard, ready to be pasted into bug reports!"
(declare (interactive-only t)) (declare (interactive-only t))
(interactive) (interactive)
(message "Generating Doom info...") (message "Generating Doom info...")
@ -100,7 +100,7 @@ your clipboard. Use this when you are filing bug reports!"
(str (format (str (format
(concat "### System Information\n" (concat "### System Information\n"
"- OS: %s (%s)\n" "- OS: %s (%s)\n"
"- Emacs: %s\n" "- Emacs: %s (%s)\n"
"- Doom: %s (%s https://github.com/hlissner/doom-emacs/commit/%s)\n" "- Doom: %s (%s https://github.com/hlissner/doom-emacs/commit/%s)\n"
"- Graphic display: %s (daemon: %s)\n" "- Graphic display: %s (daemon: %s)\n"
"- System features: %s\n" "- System features: %s\n"
@ -108,10 +108,10 @@ your clipboard. Use this when you are filing bug reports!"
" ```elisp\n" " ```elisp\n"
" modules: %s\n" " modules: %s\n"
" packages: %s\n" " packages: %s\n"
" elc files: %s\n" " elc dirs: %s\n"
" exec-path: %s\n" " exec-path: %s\n"
" ```\n") " ```\n")
system-type system-type system-configuration
emacs-version (format-time-string "%b %d, %Y" emacs-build-time) emacs-version (format-time-string "%b %d, %Y" emacs-build-time)
doom-version doom-version
(vc-git--symbolic-ref "core/core.el") (vc-git-working-revision "core/core.el") (vc-git--symbolic-ref "core/core.el") (vc-git-working-revision "core/core.el")