From f15b17688cf83610fa0c14f58d7403dfd831d874 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 22 Jan 2015 00:23:06 +0100 Subject: [PATCH] ox: Fix docstrings * lisp/ox.el (org-export-dictionary, org-export-translate): Fix spaces at the end of sentences. Do not upcase `car' and `cdr'. --- lisp/ox.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lisp/ox.el b/lisp/ox.el index 6a956d534..a3dd78a0a 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -5508,11 +5508,11 @@ them." ("zh-CN" :html "未知引用" :utf-8 "未知引用"))) "Dictionary for export engine. -Alist whose CAR is the string to translate and CDR is an alist -whose CAR is the language string and CDR is a plist whose +Alist whose car is the string to translate and cdr is an alist +whose car is the language string and cdr is a plist whose properties are possible charsets and values translated terms. -It is used as a database for `org-export-translate'. Since this +It is used as a database for `org-export-translate'. Since this function returns the string as-is if no translation was found, the variable only needs to record values different from the entry.") @@ -5523,9 +5523,9 @@ entry.") ENCODING is a symbol among `:ascii', `:html', `:latex', `:latin1' and `:utf-8'. INFO is a plist used as a communication channel. -Translation depends on `:language' property. Return the -translated string. If no translation is found, try to fall back -to `:default' encoding. If it fails, return S." +Translation depends on `:language' property. Return the +translated string. If no translation is found, try to fall back +to `:default' encoding. If it fails, return S." (let* ((lang (plist-get info :language)) (translations (cdr (assoc lang (cdr (assoc s org-export-dictionary))))))