org-md: Fix function call from dispatcher

This commit is contained in:
Nicolas Goaziou 2012-10-02 22:44:04 +02:00
parent 1ef9eed3cf
commit 09d6bcda98
1 changed files with 4 additions and 3 deletions

View File

@ -58,10 +58,11 @@ This variable can be set to either `atx' or `setext'."
:filters-alist ((:filter-parse-tree . org-md-separate-elements))
:menu-entry
(?m "Export to Markdown"
((?M "To temporary buffer" org-md-export-as-markdown)
(?m "To file" org-md-export-to-markdown)
((?M "To temporary buffer"
(lambda (s v b) (org-md-export-as-markdown s v)))
(?m "To file" (lambda (s v b) (org-md-export-to-markdown s v)))
(?o "To file and open"
(lambda (s v b) (org-open-file (org-md-export-to-markdown s v b))))))
(lambda (s v b) (org-open-file (org-md-export-to-markdown s v))))))
:translate-alist ((bold . org-md-bold)
(code . org-md-verbatim)
(example-block . org-md-example-block)