1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2025-01-05 11:45:52 +00:00

Export: Remove footnote references from TOC lines

This commit is contained in:
Carsten Dominik 2009-09-03 08:14:45 +02:00
parent c855e4cbcc
commit 146faeeb96
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2009-09-03 Carsten Dominik <carsten.dominik@gmail.com>
* org-exp.el (org-export-cleanup-toc-line): Remove footnote
references from TOC lines.
* org.el (org-selected-window): New variable.
* org-table.el (org-table-edit-formulas): Remember the selected

View File

@ -2807,6 +2807,8 @@ If yes remove the column and the special lines."
(while (string-match org-bracket-link-regexp s)
(setq s (replace-match (match-string (if (match-end 3) 3 1) s)
t t s)))
(while (string-match "\\[\\([0-9]\\|fn:[^]]*\\)\\]" s)
(setq s (replace-match "" t t s)))
s)
(defun org-create-multibrace-regexp (left right n)