[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: |
Sun, 17 Apr 2022 22:06:44 -0700 |
User-agent: |
Emacs/29.0.50 (x86_64-pc-linux-gnu) |
Hello,
On Sun 17 Apr 2022 at 07:02pm +02, Lars Ingebrigtsen wrote:
> Sean Whitton <spwhitton@spwhitton.name> writes:
>
>> This is cool, thank you. In my case all my frames are created with
>> 'emacsclient -nc', however, so this command is not much use on its own.
>> Could there be some sort of hook so that I could arrange for Emacs to
>> execute (make-frame) or something after the restart?
>
> Doesn't desktop-mode do that?
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)".
--
Sean Whitton