chore(emacs/README.md): add 'f' as a required package for lean-mode

This commit is contained in:
Soonho Kong 2014-09-13 23:35:38 -07:00
parent d647954f93
commit bf9ff192ca
2 changed files with 5 additions and 3 deletions

View file

@ -13,11 +13,13 @@ packages which can be installed via <kbd>M-x package-install</kbd>.
- [dash][dash]
- [dash-functional][dash]
- [f][f]
- [s][s]
[emacs24]: http://www.gnu.org/software/emacs
[MELPA]: http://melpa.milkbox.net
[dash]: https://github.com/magnars/dash.el
[f]: https://github.com/rejeep/f.el
[s]: https://github.com/magnars/s.el
The following packages are *optional* but we recommend to install them
@ -52,7 +54,7 @@ Put the following elisp code on your emacs setup (e.g. ``.emacs.d/init.el``):
;; Install required/optional packages for lean-mode
(defvar lean-mode-required-packages
'(company dash dash-functional flycheck whitespace-cleanup-mode
fill-column-indicator s lua-mode mmm-mode))
f fill-column-indicator s lua-mode mmm-mode))
(dolist (p lean-mode-required-packages)
(when (not (package-installed-p p))
(package-install p)))

View file

@ -23,9 +23,9 @@
(error "Emacs version >= 24 is required to use lean-mode"))
(lean-mode-check-package 'package)
(lean-mode-check-package 'dash)
(let ((required-packages '(cl-lib dash dash-functional flymake compile s))
(let ((required-packages '(cl-lib compile dash dash-functional f flymake s))
(optional-packages '(flycheck whitespace-cleanup-mode fill-column-indicator
lua-mode mmm-mode)))
lua-mode mmm-mode)))
(-each required-packages 'lean-mode-require-package)
(-each optional-packages 'lean-mode-check-package)))