0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 21:07:54 +00:00

Revert "ox: Change label naming scheme"

This reverts commit cf7d64f1e4.
This commit is contained in:
Rasmus 2015-04-19 16:00:06 +02:00
parent ea4e8e3b2c
commit 4ee8f4f286

View file

@ -4149,18 +4149,9 @@ alphanumeric characters only."
h)))) h))))
(or (gethash datum cache) (or (gethash datum cache)
(puthash datum (puthash datum
(format "%s:%d" (format "org%s%d"
(if type (if type
(case type (replace-regexp-in-string "-" "" (symbol-name 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))))
"secondarystring") "secondarystring")
(incf (gethash type cache 0))) (incf (gethash type cache 0)))
cache)))) cache))))