Check whether we can restart in Fkill_emacs
* src/emacs.c (Fkill_emacs): Report an error if we can't restart.
This commit is contained in:
parent
38c2a45882
commit
b38c3fe863
1 changed files with 2 additions and 1 deletions
|
@ -2807,7 +2807,8 @@ killed. */
|
|||
|
||||
if (!NILP (restart))
|
||||
{
|
||||
execvp (*initial_argv, initial_argv);
|
||||
if (execvp (*initial_argv, initial_argv) < 1)
|
||||
error ("Unable to re-execute Emacs");
|
||||
}
|
||||
|
||||
if (FIXNUMP (arg))
|
||||
|
|
Loading…
Add table
Reference in a new issue