emacs daemon 启动后emacsclient 图像配置文件加载失败怎么重新加载

emacs daemon 启动默认启动的是非图像服务,加载的配置文件都是在非图形下面的配置。

emacsclient启动一个新的图像frame没有重新加载图形化的配置。

应该怎么加载可以重新加载图形化配置?

加到 after-make-frame-functions

Variable: after-make-frame-functions

An abnormal hook run by make-frame after it created the frame. Each function in after-make-frame-functions receives one argument, the frame just created.

从27开始新加了一个 server-after-make-frame-hook, 27之前的版本一直有问题

3 个赞