How to automatically evaluate certain lisp code after starting an emacsclient?

前端 未结 4 955

When starting Emacs, init.el (or .emacs.el) is evaluated. However, when starting emacsclient, no similar lisp code is evaluated.

How can I get a lisp file to be eval

4条回答
  •  时光说笑
    2020-12-15 08:38

    @LSW:

    Try 'window-setup-hook. This addresses the annoyance since it is called even if emacsclient is not passed a file.

提交回复
热议问题