From dadde768f740b79d258e4b1f472aeb5454f38972 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 19 Nov 2012 21:29:00 +0100 Subject: [PATCH] org-export: Fix docstring * contrib/lisp/org-export.el (org-export-smart-quotes-alist): Fix docstring. --- contrib/lisp/org-export.el | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/contrib/lisp/org-export.el b/contrib/lisp/org-export.el index 49d07e31c..59f3f60ae 100644 --- a/contrib/lisp/org-export.el +++ b/contrib/lisp/org-export.el @@ -4279,6 +4279,17 @@ Return a list of src-block elements with a caption." ;;;; Smart Quotes +;; +;; The main function for the smart quotes sub-system is +;; `org-export-activate-smart-quotes', which replaces every quote in +;; a given string from the parse tree with its "smart" counterpart. +;; +;; Dictionary for smart quotes is stored in +;; `org-export-smart-quotes-alist'. +;; +;; Internally, regexps matching potential smart quotes (checks at +;; string boundaries are also necessary) are defined in +;; `org-export-smart-quotes-regexps'. (defconst org-export-smart-quotes-alist '(("de" @@ -4356,8 +4367,8 @@ In every regexp, quote or apostrophe matched is put in group 1.") (defun org-export-activate-smart-quotes (s encoding info &optional original) "Replace regular quotes with \"smart\" quotes in string S. -ENCODING is a symbol among `:html', `:latex' and `:utf-8'. INFO -is a plist used as a communication channel. +ENCODING is a symbol among `:html', `:latex', `:texinfo' and +`:utf-8'. INFO is a plist used as a communication channel. The function has to retrieve information about string surroundings in parse tree. It can only happen with an -- 2.11.4.GIT