diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-03-03 13:07:59 +0100 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-03-03 13:07:59 +0100 |
commit | 155ab73f7767afbf45cf67566d7808dd6684797b (patch) | |
tree | 8732ee85fb32e32819666becf26f3fbee6d7ad01 | |
parent | c8020dd42e8b7d8d433948bacd1ac2b03fed2dc2 (diff) | |
download | org-mode-155ab73f7767afbf45cf67566d7808dd6684797b.tar.gz |
org-footnote: Small fix to previous commit
* lisp/org-footnote.el (org-footnote-normalize): Do not normalize
labels when sort-only is non-nil.
-rw-r--r-- | lisp/org-footnote.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el index 9325d17..2433d88 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 () |