summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2011-02-15 10:47:26 +0100
committerBastien Guerry <bzg@altern.org>2011-02-15 10:47:26 +0100
commit0f01b842bb2b6fada2579d0278fc53422e8ea62f (patch)
tree431a39b5fcdc8c22ca9d9d9f1cb9de96d09af03d
parente9cba96b0ac5689524d2852939854f757757354c (diff)
downloadorg-mode-0f01b842bb2b6fada2579d0278fc53422e8ea62f.tar.gz
Small bug fix to org-ascii-level-start (again).
-rw-r--r--lisp/org-ascii.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-ascii.el b/lisp/org-ascii.el
index 3cc95e6..dd6f69b 100644
--- a/lisp/org-ascii.el
+++ b/lisp/org-ascii.el
@@ -653,7 +653,7 @@ publishing directory."
(not (equal (char-before (1- (point))) ?\n)))
(insert "\n"))
(setq char (or (nth (1- level) org-export-ascii-underline)
- (last org-export-ascii-underline)))
+ (car (last org-export-ascii-underline))))
(unless org-export-with-tags
(if (string-match (org-re "[ \t]+\\(:[[:alnum:]_@#%:]+:\\)[ \t]*$") title)
(setq title (replace-match "" t t title))))