mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
General comment + README cleanup
This commit is contained in:
@ -24,12 +24,11 @@
|
||||
;; Don't open files from the workspace in a new frame
|
||||
ns-pop-up-frames nil)
|
||||
|
||||
;; A known problem with GUI Emacs on MacOS: it runs in an isolated
|
||||
;; environment, so envvars will be wrong. That includes the PATH Emacs
|
||||
;; picks up. `exec-path-from-shell' fixes this, and its result is cached.
|
||||
;; Run `doom/clean-cache' to regenerate exec-path if PATH changes.
|
||||
(cond ((display-graphic-p)
|
||||
;; `exec-path-from-shell' is slow, so bring out the cache
|
||||
;; A known problem with GUI Emacs on MacOS: it runs in an isolated
|
||||
;; environment, so envvars will be wrong. That includes the PATH
|
||||
;; Emacs picks up. `exec-path-from-shell' fixes this. This is slow
|
||||
;; and benefits greatly from compilation.
|
||||
(setq exec-path
|
||||
(or (eval-when-compile
|
||||
(when (require 'exec-path-from-shell nil t)
|
||||
|
Reference in New Issue
Block a user