org-e-ascii: Fix typo

* contrib/lisp/org-e-ascii.el (org-e-ascii-horizontal-rule): Fix typo.
This commit is contained in:
Nicolas Goaziou 2012-07-23 09:43:29 +02:00
parent c92913b5f9
commit 3a633732b7
1 changed files with 2 additions and 2 deletions

View File

@ -1097,10 +1097,10 @@ holding contextual information."
;;;; Horizontal Rule
(defun org-e-ascii-horizontal-rule (horizontal-rule contents info)
"Transcode an HORIZONTAL-RULE object from Org to ASCII.
"Transcode an HORIZONTAL-RULE object from Org to ASCII.
CONTENTS is nil. INFO is a plist holding contextual
information."
(let ((width (org-export-read-attribte :attr_ascii horizontal-rule :width)))
(let ((width (org-export-read-attribute :attr_ascii horizontal-rule :width)))
(make-string (or (and (wholenump width) width)
(org-e-ascii--current-text-width horizontal-rule info))
(if (eq (plist-get info :ascii-charset) 'utf-8) ?― ?-))))