diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-02-28 12:09:30 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-02-28 12:09:30 +0100 |
commit | b62d55cbb6138ba91d32d7a24f66f6ea6f9a0474 (patch) | |
tree | b8f31b1afffde7672cd6253ed66922e9d652b0b6 | |
parent | ae0d9fbb0976613ccd6fb9781d77ab1fde026c99 (diff) | |
download | org-mode-b62d55cbb6138ba91d32d7a24f66f6ea6f9a0474.tar.gz |
org-footnote: Fix failing test
* lisp/org-footnote.el (org-footnote-normalize): Fix failing test due to
missing `incf' function.
-rw-r--r-- | lisp/org-footnote.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el index b090a45..e80685a 100644 --- a/lisp/org-footnote.el +++ b/lisp/org-footnote.el @@ -908,9 +908,10 @@ to `org-footnote-section'. Inline definitions are ignored." definitions))) (dolist (d unreferenced) (insert "\n" - (replace-regexp-in-string org-footnote-definition-re - (format "[fn:%d]" (incf n)) - (cdr d)) + (replace-regexp-in-string + org-footnote-definition-re + (format "[fn:%d]" (cl-incf n)) + (cdr d)) "\n")))))) ;; Clear dangling markers. (dolist (r references) (set-marker (nth 1 r) nil))))) |