forked from mirrors/org-mode
Merge branch 'hotfix-7.8.06'
This commit is contained in:
commit
6427c6aeaa
|
@ -865,8 +865,9 @@ Return the number of footnotes removed."
|
||||||
(ndef 0))
|
(ndef 0))
|
||||||
(while (re-search-forward def-re nil t)
|
(while (re-search-forward def-re nil t)
|
||||||
(let ((full-def (org-footnote-at-definition-p)))
|
(let ((full-def (org-footnote-at-definition-p)))
|
||||||
(delete-region (nth 1 full-def) (nth 2 full-def)))
|
(when full-def
|
||||||
(incf ndef))
|
(delete-region (nth 1 full-def) (nth 2 full-def))
|
||||||
|
(incf ndef))))
|
||||||
ndef)))
|
ndef)))
|
||||||
|
|
||||||
(defun org-footnote-delete (&optional label)
|
(defun org-footnote-delete (&optional label)
|
||||||
|
|
Loading…
Reference in a new issue