Fix void-variable disto on M-x doom/info

This commit is contained in:
Henrik Lissner 2021-03-04 16:10:33 -05:00
parent 7798aa9190
commit 3bb271738a

View file

@ -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