diff options
| author | Lars Ingebrigtsen | 2022-04-18 11:31:28 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-04-18 11:31:28 +0200 |
| commit | 088cb6115f9e3c4637b1eafbffa022873a70d7e9 (patch) | |
| tree | 54a17c48f8a71ac888b4652763babe53a2cc3e13 /src/bytecode.c | |
| parent | 9fc3b003730b90d88af11a31ea55c38fd733503b (diff) | |
| download | emacs-088cb6115f9e3c4637b1eafbffa022873a70d7e9.tar.gz emacs-088cb6115f9e3c4637b1eafbffa022873a70d7e9.zip | |
Make `restart-emacs' work when Emacs is started with --chdir
* src/emacs.c (find_emacs_executable): Rename from
load_pdump_find_executable and always define.
(load_pdump): Return the executable.
(main): Store the executable.
(Fkill_emacs): Use the stored executable so that --chdir works
with relative executable names, and so that we attempt to restart
the same executable and not some other Emacs from PATH.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions