[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 5be9a9cacf: Add a new command `restart-emacs'
From: |
Sean Whitton |
Subject: |
Re: master 5be9a9cacf: Add a new command `restart-emacs' |
Date: |
Mon, 18 Apr 2022 20:10:06 -0700 |
User-agent: |
Emacs/29.0.50 (x86_64-pc-linux-gnu) |
Hello,
On Mon 18 Apr 2022 at 11:39AM +02, Lars Ingebrigtsen wrote:
> Sean Whitton <spwhitton@spwhitton.name> writes:
>
>> Well, in this case I just want a single frame to be opened, rather than
>> saving and restoring all that state. I guess what I want is reexec with
>> additional command line arguments, "--eval" "(make-frame)".
>
> I think that's out of scope for `restart-emacs'. I mean, it would be
> possible to have a
> `restart-emacs-but-with-extra-command-line-arguments', but then you're
> not restarting Emacs the way you started it.
Right.
> But if you start Emacs originally with "--eval" "(make-frame)", then
> `restart-emacs' will be restarted the same way.
Interesting idea, thank you.
--
Sean Whitton