Improve/correct the export menu function descriptions

master
Kaushal Modi 7 years ago
parent 470a708152
commit a8e0c6e1ce
  1. 12
      ox-hugo.el

@ -732,26 +732,26 @@ newer."
(org-export-define-derived-backend 'hugo 'blackfriday ;hugo < blackfriday < md < html (org-export-define-derived-backend 'hugo 'blackfriday ;hugo < blackfriday < md < html
:menu-entry :menu-entry
'(?H "Export to Hugo-compatible Markdown" '(?H "Export to Hugo-compatible Markdown"
((?H "Subtree to file" ((?H "Subtree or File to Md file"
(lambda (a _s v _b) (lambda (a _s v _b)
(org-hugo-export-wim-to-md nil a v))) (org-hugo-export-wim-to-md nil a v)))
(?h "To file" (?h "File to Md file"
(lambda (a s v _b) (lambda (a s v _b)
(org-hugo-export-to-md a s v))) (org-hugo-export-to-md a s v)))
(?O "Subtree to file and open" (?O "Subtree or File to Md file and open"
(lambda (a _s v _b) (lambda (a _s v _b)
(if a (if a
(org-hugo-export-wim-to-md nil :async v) (org-hugo-export-wim-to-md nil :async v)
(org-open-file (org-hugo-export-wim-to-md nil nil v))))) (org-open-file (org-hugo-export-wim-to-md nil nil v)))))
(?o "To file and open" (?o "File to Md file and open"
(lambda (a s v _b) (lambda (a s v _b)
(if a (if a
(org-hugo-export-to-md :async s v) (org-hugo-export-to-md :async s v)
(org-open-file (org-hugo-export-to-md nil s v))))) (org-open-file (org-hugo-export-to-md nil s v)))))
(?A "All subtrees to files" (?A "All subtrees (or File) to Md file(s)"
(lambda (a _s v _b) (lambda (a _s v _b)
(org-hugo-export-wim-to-md :all-subtrees a v))) (org-hugo-export-wim-to-md :all-subtrees a v)))
(?t "To temporary buffer" (?t "File to a temporary Md buffer"
(lambda (a s v _b) (lambda (a s v _b)
(org-hugo-export-as-md a s v))))) (org-hugo-export-as-md a s v)))))
;;;; translate-alist ;;;; translate-alist

Loading…
Cancel
Save