You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like a way of detecting in my init.el that the current version of Emacs is Emacs Plus.
My use case is figuring out if exec-path-from-shell should be installed and executed, since Emacs Plus already sets the PATH to the correct value. Something like:
i do this by doing the following: (boundp 'ns-system-appearance)
while its not specific to emacs-plus (that symbol comes in from the patch that provides the ns-system-appearance-change-functions hook), it might work well enough for your purposes!
Depending on how other your PATH env var changes, it might be worth to always use exec-path-from-shell. The path injection feature in emacs-plus seems to inject the current PATH while you build emacs, so changes in your shell setup later won't be picked up by emacs until you reinstall or install a newer version. While exec-path-from-shell loads it up on start up each time.
I'd like a way of detecting in my
init.el
that the current version of Emacs is Emacs Plus.My use case is figuring out if
exec-path-from-shell
should be installed and executed, since Emacs Plus already sets thePATH
to the correct value. Something like:I can sort of do this already in Mituharu's port because
window-system
will be set to'mac
.The text was updated successfully, but these errors were encountered: