mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-27 18:32:52 +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:
parent
2512637fce
commit
732725a79b
|
@ -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.")
|
||||
|
|
Loading…
Reference in a new issue