summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2012-10-02 20:44:04 (GMT)
committer Nicolas Goaziou <n.goaziou@gmail.com>2012-10-02 20:44:04 (GMT)
commit09d6bcda9872a13149019b4883677bb4b672c76f (patch)
treefd49803e0f11e7a52acb33e26acb2c09267ae130
parent1ef9eed3cf7ac1cc62674e9d6fa60a3ddeb70f1c (diff)
downloadorg-mode-09d6bcda9872a13149019b4883677bb4b672c76f.zip
org-mode-09d6bcda9872a13149019b4883677bb4b672c76f.tar.gz
org-md: Fix function call from dispatcher
-rw-r--r--contrib/lisp/org-md.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/lisp/org-md.el b/contrib/lisp/org-md.el
index 017c208..d9c42ed 100644
--- a/contrib/lisp/org-md.el
+++ b/contrib/lisp/org-md.el
@@ -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)