mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Don't use uname in doom/info on windows
This commit is contained in:
@ -40,10 +40,12 @@ ready to be pasted in a bug report on github."
|
|||||||
,doom-core-dir
|
,doom-core-dir
|
||||||
,doom-private-dir)
|
,doom-private-dir)
|
||||||
:type 'files :match "\\.elc$"))
|
:type 'files :match "\\.elc$"))
|
||||||
(with-temp-buffer
|
(if IS-WINDOWS
|
||||||
(unless (zerop (call-process "uname" nil t nil "-a"))
|
"n/a"
|
||||||
(insert (format "%s" system-type)))
|
(with-temp-buffer
|
||||||
(string-trim (buffer-string)))
|
(unless (zerop (call-process "uname" nil t nil "-a"))
|
||||||
|
(insert (format "%s" system-type)))
|
||||||
|
(string-trim (buffer-string))))
|
||||||
(or (cl-loop with cat = nil
|
(or (cl-loop with cat = nil
|
||||||
for key being the hash-keys of (doom-modules)
|
for key being the hash-keys of (doom-modules)
|
||||||
if (or (not cat) (not (eq cat (car key))))
|
if (or (not cat) (not (eq cat (car key))))
|
||||||
|
Reference in New Issue
Block a user