Browse Source

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.
Nicolas Goaziou 13 years ago
parent
commit
732725a79b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      contrib/lisp/org-element.el

+ 3 - 3
contrib/lisp/org-element.el

@@ -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")
-    ("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.
   "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.")