summaryrefslogtreecommitdiff
path: root/lisp/org-footnote.el
diff options
context:
space:
mode:
authorSébastien Delafond <sdelafond@gmail.com>2016-02-10 18:54:48 +0100
committerSébastien Delafond <sdelafond@gmail.com>2016-02-10 18:54:48 +0100
commit5b4347604ce1b4d25a87f6a83f75a4038a180d86 (patch)
tree87438ba3d21a30105d7d98427d322deccc9eccd3 /lisp/org-footnote.el
parentf083b1cce35adcd4dff9db99b033056401a203ba (diff)
parent8d8ea67656b95d8528b6cd9b43b2d53b847412b0 (diff)
Merge tag 'upstream/8.3.3'
Upstream version 8.3.3
Diffstat (limited to 'lisp/org-footnote.el')
-rw-r--r--lisp/org-footnote.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el
index 10e95ee..7fd55d9 100644
--- a/lisp/org-footnote.el
+++ b/lisp/org-footnote.el
@@ -533,7 +533,7 @@ or new, let the user edit the definition of the footnote."
(label
(org-footnote-normalize-label
(if (eq org-footnote-auto-label 'random)
- (format "fn:%x" (random #x100000000))
+ (format "fn:%x" (random most-positive-fixnum))
(let ((propose (org-footnote-unique-label all)))
(if (memq org-footnote-auto-label '(t plain)) propose
(org-icompleting-read