core-os: add doc comment to exec-path-from-shell
This commit is contained in:
parent
31cdab9ed2
commit
635c0fdaa7
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,10 @@
|
||||||
;; Don't open files from the workspace in a new frame
|
;; Don't open files from the workspace in a new frame
|
||||||
ns-pop-up-frames nil)
|
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/clear-cache' to regenerate exec-path if PATH changes.
|
||||||
(cond ((display-graphic-p)
|
(cond ((display-graphic-p)
|
||||||
;; `exec-path-from-shell' is slow, so bring out the cache
|
;; `exec-path-from-shell' is slow, so bring out the cache
|
||||||
(setq exec-path
|
(setq exec-path
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue