master
hollowman6 6 years ago
parent 36dcbbab46
commit 44eabff4ea
No known key found for this signature in database
GPG Key ID: 6CA2A0660F48F7A
  1. 6
      README.md
  2. 4
      README.zh-CN.md

@ -83,7 +83,7 @@ If you use [use-package](https://github.com/jwiegley/use-package), a sample conf
---
If you use [Chemacs](https://github.com/plexus/chemacs), a sample [`init.el`](./init.el) is provided as follows:
If you use [Chemacs](https://github.com/plexus/chemacs), a sample `init.el` is provided as follows:
```Elisp
;; An example of init.el
@ -98,9 +98,9 @@ If you use [Chemacs](https://github.com/plexus/chemacs), a sample [`init.el`](./
(require 'eaf)
```
during EAF installation, you only need to modify the parameter value when calling function `add-subdirs-to-load-path`, change it into your full path to the EAF installation directory. The sample gives a situation when you install EAF at `~/.emacs.d/`.
During EAF installation, you only need to modify the parameter value when calling function `add-subdirs-to-load-path`, change it into your full path to the EAF installation directory. The sample gives a situation when you install EAF at `~/.emacs.d/`.
After EAF installation, let's assume your EAF installation directory is `~/eaf`, you only have Emacs configurations at `~/.emacs.d` and EAF installed on your computer, and you have installed Chemacs, then the `~/.emacs-profiles.el` should look like this:
After EAF installation, let's assume your EAF installation directory is `~/eaf`, you only have Emacs configurations at `~/.emacs.d` and EAF installed on your computer, and you have installed Chemacs, then the `.emacs-profiles.el` should look like this:
```Elisp
(("default" . ((user-emacs-directory . "~/.emacs.d")))

@ -83,7 +83,7 @@ git clone https://github.com/manateelazycat/emacs-application-framework.git --de
---
如果你使用[Chemacs](https://github.com/plexus/chemacs), 下面是一份 [`init.el`]的配置示例:
如果你使用[Chemacs](https://github.com/plexus/chemacs), 下面是一份 `init.el`的配置示例:
```Elisp
;; An example of init.el
@ -100,7 +100,7 @@ git clone https://github.com/manateelazycat/emacs-application-framework.git --de
在安装EAF时,你仅需要修改此文件中调用函数`add-subdirs-to-load-path`的参数值,将其更改为你的EAF安装位置的绝对路径。 配置示例中的EAF是安装在`~/.emacs.d/`.
在EAF安装完成后,假设你将它安装到了`~/eaf`,你电脑中只有存放在`~/.emacs.d`的Emacs配置文件和安装的EAF,并且你电脑中安装了Chemacs,此时`~/.emacs-profiles.el`应该这样配置:
在EAF安装完成后,假设你将它安装到了`~/eaf`,你电脑中只有存放在`~/.emacs.d`的Emacs配置文件和安装的EAF,并且你电脑中安装了Chemacs,此时`.emacs-profiles.el`应该这样配置:
```Elisp
(("default" . ((user-emacs-directory . "~/.emacs.d")))

Loading…
Cancel
Save