fix: partially revert OS detection changes
These changes snuck intoad6a3d0
, but have not been implemented yet, so some OS-specific functionality was orphaned. Amend:ad6a3d0f33
This commit is contained in:
parent
8b4f722fa3
commit
4c9df9bfc6
5 changed files with 15 additions and 15 deletions
|
@ -6,8 +6,8 @@
|
|||
;; REVIEW Use `with-memoization' when 27.x support is dropped
|
||||
(or (get 'doom-system-distro 'cached-value)
|
||||
(put 'doom-system-distro 'cached-value
|
||||
(cond ((featurep :os 'windows) 'windows)
|
||||
((featurep :os 'macos) 'macos)
|
||||
(cond (IS-WINDOWS 'windows)
|
||||
(IS-MAC 'macos)
|
||||
((and (file-exists-p "/etc/os-release")
|
||||
(with-temp-buffer
|
||||
(insert-file-contents "/etc/os-release")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue