Browse Source

org-e-ascii: Fix small bug

* EXPERIMENTAL/org-e-ascii.el (org-e-ascii--build-caption): Fix
  a "wrong number of arguments" bug.
Nicolas Goaziou 13 years ago
parent
commit
7ba1d26253
1 changed files with 2 additions and 2 deletions
  1. 2 2
      EXPERIMENTAL/org-e-ascii.el

+ 2 - 2
EXPERIMENTAL/org-e-ascii.el

@@ -642,8 +642,8 @@ keyword."
       (let ((reference
 	     (org-export-get-ordinal
 	      element info nil
-	      (lambda (el) (or (org-element-property :caption el)
-			  (org-element-property :name el)))))
+	      (lambda (el info) (or (org-element-property :caption el)
+			       (org-element-property :name el)))))
 	    (title-fmt (org-e-ascii--translate
 			(case (org-element-type element)
 			  (table "Table %d: %s")