Revert "ox: Change label naming scheme"
This reverts commit cf7d64f1e4
.
This commit is contained in:
parent
ea4e8e3b2c
commit
4ee8f4f286
13
lisp/ox.el
13
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))))
|
||||
|
|
Loading…
Reference in New Issue