mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
refactor: remove doom-bin-dir
Or rather, moves its into lib/config.el, which is the only place that uses it.
This commit is contained in:
@ -28,9 +28,10 @@
|
||||
|
||||
(defmacro doom--if-compile (command on-success &optional on-failure)
|
||||
(declare (indent 2))
|
||||
`(let ((doom-bin "doom")
|
||||
(default-directory doom-emacs-dir)
|
||||
(exec-path (cons doom-bin-dir exec-path)))
|
||||
`(let* ((doom-bin "doom")
|
||||
(doom-bin-dir (expand-file-name "bin/" doom-emacs-dir))
|
||||
(default-directory doom-emacs-dir)
|
||||
(exec-path (cons doom-bin-dir exec-path)))
|
||||
(when (and (featurep :system 'windows)
|
||||
(string-match-p "cmdproxy.exe$" shell-file-name))
|
||||
(unless (executable-find "pwsh")
|
||||
|
Reference in New Issue
Block a user