forked from mirrors/org-mode
org-e-ascii: Fix small bug
* EXPERIMENTAL/org-e-ascii.el (org-e-ascii--build-caption): Fix a "wrong number of arguments" bug.
This commit is contained in:
parent
851fe42608
commit
7ba1d26253
|
@ -642,7 +642,7 @@ keyword."
|
||||||
(let ((reference
|
(let ((reference
|
||||||
(org-export-get-ordinal
|
(org-export-get-ordinal
|
||||||
element info nil
|
element info nil
|
||||||
(lambda (el) (or (org-element-property :caption el)
|
(lambda (el info) (or (org-element-property :caption el)
|
||||||
(org-element-property :name el)))))
|
(org-element-property :name el)))))
|
||||||
(title-fmt (org-e-ascii--translate
|
(title-fmt (org-e-ascii--translate
|
||||||
(case (org-element-type element)
|
(case (org-element-type element)
|
||||||
|
|
Loading…
Reference in a new issue