use package! macro :when flag

minor change to the README docs
This commit is contained in:
Lorenzo Giuliani 2019-08-29 12:53:02 +02:00
parent ede04f705c
commit 84cd3b5bfb
2 changed files with 4 additions and 3 deletions

View file

@ -62,7 +62,7 @@ https://www.mfoot.com/blog/2015/11/22/literate-emacs-configuration-with-org-mode
+ =+present= Enables integration with reveal.js, beamer and org-tree-slide, so
Emacs can be used for presentations.
+ =+hugo= Enables integration with [[https://gohugo.io][hugo]] to export from
Emacs well formed (blackfriday) markdown.
Emacs well-formed ([[https://github.com/russross/blackfriday][blackfriday]]) markdown.
** Plugins
+ [[https://orgmode.org/][org-plus-contrib]]

View file

@ -53,5 +53,6 @@
(when (featurep! +journal)
(package! org-journal))
(when (featurep! +hugo)
(package! ox-hugo))
(package! ox-hugo
:when (featurep! +hugo)
:after ox)