1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-02 08:22:16 +00:00

contrib/lisp/org-element: Translate "data" affiliated keyword into "name"

* contrib/lisp/org-element.el (org-element-keyword-translation-alist):
  Make "data" an alternate from "name" according to code blocks standardization.
This commit is contained in:
Nicolas Goaziou 2011-12-26 12:33:58 +01:00
parent 2512637fce
commit 732725a79b

View File

@ -2359,9 +2359,9 @@ regexp matching one object can also match the other object.")
"List of affiliated keywords as strings.")
(defconst org-element-keyword-translation-alist
'(("tblname" . "name") ("srcname" . "name") ("resname" . "name")
("source" . "name") ("result" . "results") ("headers" . "header")
("label" . "name"))
'(("data" . "name") ("label" . "name") ("resname" . "name")
("source" . "name") ("srcname" . "name") ("tblname" . "name")
("result" . "results") ("headers" . "header"))
"Alist of usual translations for keywords.
The key is the old name and the value the new one. The property
holding their value will be named after the translated name.")