Don't use uname in doom/info on windows
This commit is contained in:
parent
bfa97e798a
commit
c33de42dce
1 changed files with 6 additions and 4 deletions
|
@ -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))))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue