mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-12 06:09:54 +00:00
Merge branch 'hotfix-7.8.06' of orgmode.org:org-mode into hotfix-7.8.06
This commit is contained in:
commit
3df72679bb
|
@ -864,8 +864,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