[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer
From: |
Sean Whitton |
Subject: |
Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer |
Date: |
Tue, 03 May 2022 22:40:22 -0700 |
User-agent: |
Notmuch/0.35 Emacs/29.0.50 (x86_64-pc-linux-gnu) |
Hello,
On Tue 03 May 2022 at 10:14pm -04, Stefan Monnier wrote:
>> * lisp/server.el: Require subr-x when compiling.
>> (server-execute): Initialize the *scratch* buffer in the same way that
>> the scratch-buffer command does, for consistency.
>
> Could we put that code in a function so we don't need to duplicate it
> (and sync it)?
There's a similar thing in a lot of different places in C, too.
My own inclination is that it's simple, and in fact slightly different
in different places, so not worth factoring out, but YMMV.
--
Sean Whitton
- Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer, Stefan Monnier, 2022/05/03
- Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer,
Sean Whitton <=
- Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer, Stefan Monnier, 2022/05/04
- Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer, Sean Whitton, 2022/05/04
- Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer, Stefan Monnier, 2022/05/04
- Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer, Sean Whitton, 2022/05/05
- Re: master f2d2fe6fc8: server-execute: Initialize the *scratch* buffer, Sean Whitton, 2022/05/05