开发者

an emacs command to open a new instance of emacs

How can I make a cross-platform emacs command that opens another instance of emacs with -q option?

The reason why I need such a command is that it would be easy to modif开发者_如何学Cy the command to make it open another instance of emacs with -q and -l option so that the new instance loads an el file that I am editing with the old instance.


If emacs is in your path, you could do that with meta-x shell and then emacs -d


This should do the trick:

(defun start-emacs-q ()
  (interactive)
  (start-process "Emacs" nil
         (executable-find "emacs") "-q"))
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜