mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -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."
|
||||
(exec-path-from-shell-copy-envs vars))
|
||||
(setq exec-path-from-shell-check-startup-files nil
|
||||
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-arguments (delete "-i" exec-path-from-shell-arguments)
|
||||
exec-path-from-shell-debug doom-debug-mode)
|
||||
(exec-path-from-shell-initialize))))
|
||||
|
||||
(IS-LINUX
|
||||
|
Reference in New Issue
Block a user