3,135
edits
(Created page with "# 在 Firefox 中,安装 `Edit with Emacs` 拓展") |
|||
# 在 Firefox 中,安装
# 在 Emacs 中,用 package-list-packages 安装 <code> server-edit </code> 拓展
# 在 Emacs 中,用 package-list-packages 安装 <code> use-package </code> 拓展
# 在 Emacs 配置文件中写下:
<syntaxhighlight lang="elisp" line>
(use-package edit-server
:ensure t
:commands edit-server-start
:init (if after-init-time
(edit-server-start)
(add-hook 'after-init-hook
#'(lambda() (edit-server-start))))
:config (setq edit-server-new-frame-alist
'((name . "Edit with Emacs FRAME")
(top . 200)
(left . 200)
(width . 80)
(height . 25)
(minibuffer . t)
(menu-bar-lines . t))))
</syntaxhighlight>
即可。
|