mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix file-missing error during patch-macos
Forgot to add Emacs.app to the end of the directories to be searched! Whoops!
This commit is contained in:
@ -308,12 +308,13 @@ problems with doom."
|
|||||||
|
|
||||||
(defun doom--find-emacsapp-path ()
|
(defun doom--find-emacsapp-path ()
|
||||||
(or (getenv "EMACS_APP_PATH")
|
(or (getenv "EMACS_APP_PATH")
|
||||||
(cl-find-if #'file-directory-p
|
(cl-loop for dir in (list "/usr/local/opt/emacs"
|
||||||
(list "/usr/local/opt/emacs"
|
"/usr/local/opt/emacs-plus"
|
||||||
"/usr/local/opt/emacs-plus"
|
"/Applications"
|
||||||
"/Applications"
|
"~/Applications")
|
||||||
"~/Applications")
|
for appdir = (concat dir "/Emacs.app")
|
||||||
:key (lambda (x) (concat x "/Emacs.app")))
|
if (file-directory-p appdir)
|
||||||
|
return appdir)
|
||||||
(user-error "Couldn't find Emacs.app")))
|
(user-error "Couldn't find Emacs.app")))
|
||||||
|
|
||||||
(defun doom-quickstart ()
|
(defun doom-quickstart ()
|
||||||
|
Reference in New Issue
Block a user