Skip to content

Commit

Permalink
Fix the regression introduced in c29e98b
Browse files Browse the repository at this point in the history
- c29e98b

Fixes #283.
  • Loading branch information
kaushalmodi committed Jul 29, 2019
1 parent 4c34d42 commit 8c73de0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ox-hugo.el
Original file line number Diff line number Diff line change
Expand Up @@ -737,16 +737,17 @@ newer."
(org-hugo-export-wim-to-md nil a v)))
(?h "To file"
(lambda (a s v _b)
(org-hugo-export-to-md nil a s v)))
(org-hugo-export-to-md a s v)))
(?O "Subtree to file and open"
(lambda (a _s v _b)
(if a
(org-hugo-export-wim-to-md nil :async v)
(org-open-file (org-hugo-export-wim-to-md nil a v)))))
(?o "To file and open"
(lambda (a s v _b)
(if a (org-hugo-export-to-md nil t s v)
(org-open-file (org-hugo-export-to-md nil nil s v)))))
(if a
(org-hugo-export-to-md :async s v)
(org-open-file (org-hugo-export-to-md nil s v)))))
(?A "All subtrees to files"
(lambda (a _s v _b)
(org-hugo-export-wim-to-md :all-subtrees a v)))
Expand Down

0 comments on commit 8c73de0

Please sign in to comment.