emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 9fc3b00373: Improve `restart-emacs' error reporting


From: Po Lu
Subject: Re: master 9fc3b00373: Improve `restart-emacs' error reporting
Date: Mon, 18 Apr 2022 17:08:16 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> +      /* Check that the binary hasn't gone away.  */
> +      if (!file_access_p (initial_argv[0], F_OK))
> +     error ("Emacs executable \"%s\" can't be found", initial_argv[0]);
> +    }

How would this work if initial_argv[0] is a binary in the PATH, not a
file name?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]