From 4ee8f4f2865b84669a8a0daec2725efb29c6bd90 Mon Sep 17 00:00:00 2001 From: Rasmus Date: Sun, 19 Apr 2015 16:00:06 +0200 Subject: [PATCH] Revert "ox: Change label naming scheme" This reverts commit cf7d64f1e456cad281674fc81a8074f969b7911c. --- lisp/ox.el | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/lisp/ox.el b/lisp/ox.el index f7d0ef5e6..d6dcc8262 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -4149,18 +4149,9 @@ alphanumeric characters only." h)))) (or (gethash datum cache) (puthash datum - (format "%s:%d" + (format "org%s%d" (if type - (case type - (headline "sec") - (paragraph - (if (org-element-property :caption datum) - "fig" "paragraph")) - (latex-environment "eq") - (table "tbl") - (otherwise - (replace-regexp-in-string "-" "" - (symbol-name type)))) + (replace-regexp-in-string "-" "" (symbol-name type)) "secondarystring") (incf (gethash type cache 0))) cache)))) -- 2.11.4.GIT