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
When running an Emacs built with emacsWithPackages from Nix, restart-emacs picks the wrong Emacs binary to start.
emacsWithPackages creates a wrapper script that sets up the Emacs load path before running the Emacs binary. So what ends up happening is that restart-emacs executes the Emacs binary (obtained via invocation-directory), but without the load-path set properly.
The easiest solution I can see would be to allow the user to configure the command used to start a new Emacs instance.
The text was updated successfully, but these errors were encountered:
When running an Emacs built with
emacsWithPackages
from Nix,restart-emacs
picks the wrong Emacs binary to start.emacsWithPackages
creates a wrapper script that sets up the Emacs load path before running the Emacs binary. So what ends up happening is thatrestart-emacs
executes the Emacs binary (obtained viainvocation-directory
), but without the load-path set properly.The easiest solution I can see would be to allow the user to configure the command used to start a new Emacs instance.
The text was updated successfully, but these errors were encountered: