From 84cd3b5bfbdfdac366af0c62d5da2866b03da22a Mon Sep 17 00:00:00 2001 From: Lorenzo Giuliani Date: Thu, 29 Aug 2019 12:53:02 +0200 Subject: [PATCH] use package! macro :when flag minor change to the README docs --- modules/lang/org/README.org | 2 +- modules/lang/org/packages.el | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/lang/org/README.org b/modules/lang/org/README.org index 6569ac46d..cf5462afd 100644 --- a/modules/lang/org/README.org +++ b/modules/lang/org/README.org @@ -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]] diff --git a/modules/lang/org/packages.el b/modules/lang/org/packages.el index 5fea442e3..848b8d82c 100644 --- a/modules/lang/org/packages.el +++ b/modules/lang/org/packages.el @@ -53,5 +53,6 @@ (when (featurep! +journal) (package! org-journal)) -(when (featurep! +hugo) - (package! ox-hugo)) +(package! ox-hugo + :when (featurep! +hugo) + :after ox)