Selaa lähdekoodia

Merge branch 'maint'

Nicolas Goaziou 9 vuotta sitten
vanhempi
commit
18f0835840
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      lisp/org-footnote.el

+ 1 - 1
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