mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-11 13:07:28 -05:00
Set exec-path-from-shell-debug instead of aliasing
Also fixes the defvaralias error that occurs on the latest Emacs (but only on MacOS).
This commit is contained in:
@ -39,8 +39,8 @@
|
|||||||
"Inject VARS from your shell environment into Emacs."
|
"Inject VARS from your shell environment into Emacs."
|
||||||
(exec-path-from-shell-copy-envs vars))
|
(exec-path-from-shell-copy-envs vars))
|
||||||
(setq exec-path-from-shell-check-startup-files nil
|
(setq exec-path-from-shell-check-startup-files nil
|
||||||
exec-path-from-shell-arguments (delete "-i" exec-path-from-shell-arguments))
|
exec-path-from-shell-arguments (delete "-i" exec-path-from-shell-arguments)
|
||||||
(defvaralias 'exec-path-from-shell-debug 'doom-debug-mode)
|
exec-path-from-shell-debug doom-debug-mode)
|
||||||
(exec-path-from-shell-initialize))))
|
(exec-path-from-shell-initialize))))
|
||||||
|
|
||||||
(IS-LINUX
|
(IS-LINUX
|
||||||
|
Reference in New Issue
Block a user