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:
parent
97b42c449b
commit
68903ae398
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue