mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix void-variable disto on M-x doom/info
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user