From ab144f89c2367814edfbd55c29bbe59c8a2da107 Mon Sep 17 00:00:00 2001 From: Lorenzo Giuliani Date: Mon, 30 Sep 2019 16:10:26 +0200 Subject: [PATCH] =?UTF-8?q?use=20the=20=CE=BB!=20macro?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/lang/org/contrib/+hugo.el | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/modules/lang/org/contrib/+hugo.el b/modules/lang/org/contrib/+hugo.el index 88454f8eb..6697b83b0 100644 --- a/modules/lang/org/contrib/+hugo.el +++ b/modules/lang/org/contrib/+hugo.el @@ -10,15 +10,9 @@ (:prefix ("H" . "hugo") :desc "Subtree or File to Md to file" "H" #'org-hugo-export-wim-to-md :desc "File to Md file" "h" #'org-hugo-export-to-md - :desc "Subtree or File to Md to file & open" "O" '(lambda () - (interactive) - (org-open-file (org-hugo-export-wim-to-md))) - :desc "File to Md file & open" "o" '(lambda () - (interactive) - (org-open-file (org-hugo-export-to-md))) - :desc "All subtrees (or File) to Md file(s)" "A" '(lambda () - (interactive) - (org-hugo-export-wim-to-md :all-subtrees)) + :desc "Subtree or File to Md to file & open" "O" '(λ! (org-open-file (org-hugo-export-wim-to-md))) + :desc "File to Md file & open" "o" '(λ! (org-open-file (org-hugo-export-to-md))) + :desc "All subtrees (or File) to Md file(s)" "A" '(λ! (org-hugo-export-wim-to-md :all-subtrees)) :desc "File to a temporary Md buffer" "t" #'org-hugo-export-as-md))) ;;; +hugo.el ends here