Subject: bug#65048: 29.1; cli argument "-x" fails with "unknown option" error on PGTK Emacs

From: Eli Zaretskii <[email-masked]>
Date: Wed, 09 Aug 2023 21:05:36 +0300

> From: Robert Pluim <[email-masked]>
> Cc: John t <[email-masked]>,  Po Lu <[email-masked]>,
>   [email-masked]
> Date: Wed, 09 Aug 2023 19:34:34 +0200
> 
> >>>>> On Wed, 09 Aug 2023 14:44:24 +0300, Eli Zaretskii <[email-masked]> said:
> 
>     Eli> That's strange.  Can someone please test the patch on X and see if it
>     Eli> works, and if not, tell me where I goofed?
> 
> Looks ok to me:
> 
> $ src/emacs -x
> 
> Wrong type argument: stringp, nil

Thanks.  And if you invoke the following shell script, does it produce
the message as expected?

#!/path/to/src/emacs -x

(message "Hello, emacs scripting!")