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
1 changed files with 3 additions and 3 deletions

View File

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