Fix void-variable disto on M-x doom/info
This commit is contained in:
parent
7798aa9190
commit
3bb271738a
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
||||||
(defun doom-system-distro-version ()
|
(defun doom-system-distro-version ()
|
||||||
"Return a distro name and version string."
|
"Return a distro name and version string."
|
||||||
(letf! (defun sh (&rest args) (cdr (apply #'doom-call-process args)))
|
(letf! (defun sh (&rest args) (cdr (apply #'doom-call-process args)))
|
||||||
(let ((disto (doom-system-distro)))
|
(let ((distro (doom-system-distro)))
|
||||||
(cond
|
(cond
|
||||||
((eq distro 'windows)
|
((eq distro 'windows)
|
||||||
(format "Windows %s" "Unknown")) ; TODO
|
(format "Windows %s" "Unknown")) ; TODO
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue