From 9508dc9af28c20e50dbb96203b0185e630492f80 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 26 Apr 2016 21:04:41 +0200 Subject: [PATCH] ox: Internal references are always 10 character long * lisp/ox.el (org-export-format-reference): Internal references are always 10 character long. This reduces further possible reference clashes with user-defined labels. --- lisp/ox.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox.el b/lisp/ox.el index d93493f76..d6b2de040 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -4341,7 +4341,7 @@ of a reference. See also `org-export-format-reference'." "Format REFERENCE into a string. REFERENCE is a number representing a reference, as returned by `org-export-new-reference', which see." - (format "org%x" reference)) + (format "org%07x" reference)) (defun org-export-get-reference (datum info) "Return a unique reference for DATUM, as a string. -- 2.11.4.GIT