Просмотр исходного кода

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 14 лет назад
Родитель
Сommit
732725a79b
1 измененных файлов с 3 добавлено и 3 удалено
  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.")