Don't show hostname in doom info or doctor output

It doesn't help me, and some folks may not want it publicized.
This commit is contained in:
Henrik Lissner 2019-04-16 20:51:32 -04:00
parent 8a5af077a6
commit f37b1342a2
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 2 additions and 2 deletions

View file

@ -123,7 +123,7 @@
(color 31 " (mismatch)"))) (color 31 " (mismatch)")))
(when (boundp 'system-configuration-features) (when (boundp 'system-configuration-features)
(message "Compiled with:\n%s" (indented 2 system-configuration-features))) (message "Compiled with:\n%s" (indented 2 system-configuration-features)))
(message "uname -a:\n%s\n" (indented 2 (sh "uname -a"))) (message "uname -msrv:\n%s\n" (indented 2 (sh "uname -msrv")))
;; --- is emacs set up properly? ------------------------------ ;; --- is emacs set up properly? ------------------------------

View file

@ -47,7 +47,7 @@ ready to be pasted in a bug report on github."
(if IS-WINDOWS (if IS-WINDOWS
"n/a" "n/a"
(with-temp-buffer (with-temp-buffer
(unless (zerop (call-process "uname" nil t nil "-a")) (unless (zerop (call-process "uname" nil t nil "-msrv"))
(insert (format "%s" system-type))) (insert (format "%s" system-type)))
(string-trim (buffer-string)))) (string-trim (buffer-string))))
(or (cl-loop with cat = nil (or (cl-loop with cat = nil