mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-07-17 09:36:26 +00:00
Export: Ignore radio matches in links
This commit is contained in:
parent
82dcd80130
commit
741b523fa5
|
@ -2,6 +2,7 @@
|
|||
|
||||
* org-exp.el (org-export-format-source-code-or-example): Fix bug
|
||||
that did not enumerate first line.
|
||||
(org-export-mark-radio-links): Skip matches in links.
|
||||
|
||||
2009-07-18 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
|
|
|
@ -1792,8 +1792,12 @@ When it is nil, all comments will be removed."
|
|||
(goto-char (point-min))
|
||||
(when re-radio
|
||||
(while (re-search-forward re-radio nil t)
|
||||
(org-if-unprotected
|
||||
(replace-match "\\1[[\\2]]"))))))
|
||||
(unless
|
||||
(save-match-data
|
||||
(or (org-in-regexp org-bracket-link-regexp)
|
||||
(org-in-regexp org-plain-link-re)))
|
||||
(org-if-unprotected
|
||||
(replace-match "\\1[[\\2]]")))))))
|
||||
|
||||
(defun org-export-remove-special-table-lines ()
|
||||
"Remove tables lines that are used for internal purposes."
|
||||
|
|
Loading…
Reference in a new issue