doc(emacs/README.md): clean up
[skip ci]
This commit is contained in:
parent
37538acafa
commit
36c632f48d
1 changed files with 5 additions and 11 deletions
|
@ -18,14 +18,6 @@ packages which can be installed via <kbd>M-x package-install</kbd>.
|
||||||
- [flycheck][flycheck]
|
- [flycheck][flycheck]
|
||||||
- [whitespace-cleanup-mode][wcm]
|
- [whitespace-cleanup-mode][wcm]
|
||||||
|
|
||||||
To install them, you need to have [MELPA][MELPA] in your
|
|
||||||
``package-archives``. You can add it by evaluating the following elisp
|
|
||||||
code:
|
|
||||||
|
|
||||||
```elisp
|
|
||||||
(add-to-list 'package-archives
|
|
||||||
'("marmalade" . "http://marmalade-repo.org/packages/") t)
|
|
||||||
```
|
|
||||||
|
|
||||||
[emacs24]: http://www.gnu.org/software/emacs
|
[emacs24]: http://www.gnu.org/software/emacs
|
||||||
[flycheck]: http://flycheck.readthedocs.org/en/latest
|
[flycheck]: http://flycheck.readthedocs.org/en/latest
|
||||||
|
@ -34,16 +26,18 @@ code:
|
||||||
[MELPA]: http://melpa.milkbox.net
|
[MELPA]: http://melpa.milkbox.net
|
||||||
[dash]: https://github.com/magnars/dash.el
|
[dash]: https://github.com/magnars/dash.el
|
||||||
[company]: http://company-mode.github.io/
|
[company]: http://company-mode.github.io/
|
||||||
-----
|
|
||||||
|
|
||||||
Put the following elisp code on your emacs setup:
|
Install
|
||||||
|
-------
|
||||||
|
|
||||||
|
Put the following elisp code on your emacs setup (e.g. ``.emacs.d/init.el``):
|
||||||
|
|
||||||
```elisp
|
```elisp
|
||||||
(require 'package)
|
(require 'package)
|
||||||
(add-to-list 'package-archives
|
(add-to-list 'package-archives
|
||||||
'("melpa" . "http://melpa.milkbox.net/packages/") t)
|
'("melpa" . "http://melpa.milkbox.net/packages/") t)
|
||||||
(package-initialize)
|
(package-initialize)
|
||||||
(when (not package-archive-contents) (package-refresh-contents))
|
(package-refresh-contents)
|
||||||
|
|
||||||
;; Install required packages for lean-mode
|
;; Install required packages for lean-mode
|
||||||
(defvar lean-mode-required-packages
|
(defvar lean-mode-required-packages
|
||||||
|
|
Loading…
Add table
Reference in a new issue