summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2015-11-30 16:09:19 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2015-11-30 16:09:19 +0100
commit18f0835840285f7f496541436c6a16b41d8222ff (patch)
treedaae61f9be768be010c1547e3aaa73c4d6167550
parent2aa80849daecaf3c88815ac08d70269b9effb0ca (diff)
parent54c584738564661a916e3c1a223c8ddab7e29f48 (diff)
downloadorg-mode-18f0835840285f7f496541436c6a16b41d8222ff.tar.gz
Merge branch 'maint'
-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 759cc2e..bc874a5 100644
--- a/lisp/org-footnote.el
+++ b/lisp/org-footnote.el
@@ -534,7 +534,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