Small bug fix to org-ascii-level-start (again).

This commit is contained in:
Bastien Guerry 2011-02-15 10:47:26 +01:00
parent e9cba96b0a
commit 0f01b842bb
1 changed files with 1 additions and 1 deletions

View File

@ -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))))