0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-19 23:18:39 +00:00

Merge branch 'master' of orgmode.org:org-mode

This commit is contained in:
Bastien Guerry 2012-03-25 01:49:58 +01:00
commit 32bbca6be7

View file

@ -865,8 +865,9 @@ Return the number of footnotes removed."
(ndef 0))
(while (re-search-forward def-re nil t)
(let ((full-def (org-footnote-at-definition-p)))
(delete-region (nth 1 full-def) (nth 2 full-def)))
(incf ndef))
(when full-def
(delete-region (nth 1 full-def) (nth 2 full-def))
(incf ndef))))
ndef)))
(defun org-footnote-delete (&optional label)