0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-25 10:32:52 +00:00

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

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