0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-25 11:02:53 +00:00

Little fix to ASCII exporter with regards to [@start:num] structures.

This commit is contained in:
Nicolas Goaziou 2010-08-02 12:37:56 +02:00
parent 0dab6a2e1b
commit 12acf70f92

View file

@ -571,9 +571,8 @@ publishing directory."
(replace-match "\\1\\2")))
;; Remove list start counters
(goto-char (point-min))
(while (re-search-forward "\\[@start:[0-9]+\\] ?" nil t)
(org-if-unprotected
(replace-match "")))
(while (org-search-forward-unenclosed "\\[@start:[0-9]+\\][ \t]*" nil t)
(replace-match ""))
(remove-text-properties
(point-min) (point-max)
'(face nil font-lock-fontified nil font-lock-multiline nil line-prefix nil wrap-prefix nil)))