Re: [O] [PATCH] Don't call org-footnote-unique label if using random labels

2012-05-06 Thread Bastien
Hi Matt, Matt Lundin writes: > * lisp/org-footnote.el (org-footnote-new): Don't call > org-footnote-unique-label if org-footnote-auto-label is set to > random. > > Calling org-footnote-unique-label calls org-footnote-all-labels, which > can dramatically slow down footnote creation in a buffe

[O] [PATCH] Don't call org-footnote-unique label if using random labels

2012-05-05 Thread Matt Lundin
* lisp/org-footnote.el (org-footnote-new): Don't call org-footnote-unique-label if org-footnote-auto-label is set to random. Calling org-footnote-unique-label calls org-footnote-all-labels, which can dramatically slow down footnote creation in a buffer with many footnotes. This is unecessary