From 155ab73f7767afbf45cf67566d7808dd6684797b Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 3 Mar 2012 13:07:59 +0100 Subject: [PATCH] org-footnote: Small fix to previous commit * lisp/org-footnote.el (org-footnote-normalize): Do not normalize labels when sort-only is non-nil. --- lisp/org-footnote.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el index 9325d1767..2433d88cc 100644 --- a/lisp/org-footnote.el +++ b/lisp/org-footnote.el @@ -825,7 +825,9 @@ Additional note on `org-footnote-insert-pos-for-preprocessor': ;; Clean marker. (set-marker pos nil)) (org-footnote-goto-local-insertion-point) - (insert (format "\n[%s] %s\n" (nth 1 x) (nth 2 x)))) + (insert (format "\n[%s] %s\n" + (if sort-only (car x) (nth 1 x)) + (nth 2 x)))) ref-table)))))) (defun org-footnote-goto-local-insertion-point () -- 2.11.4.GIT