From 1f3a2c42c6317a4b0e97b237f079c51f0028cc90 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 29 Oct 2012 21:57:46 +0100 Subject: [PATCH] org-element, org-export: Fix documentation typos * contrib/lisp/org-export.el (org-export--get-subtree-options): Fix code comment. * lisp/org-element.el (org-element-map): Fix docstring. --- contrib/lisp/org-export.el | 2 +- lisp/org-element.el | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/contrib/lisp/org-export.el b/contrib/lisp/org-export.el index dc601d44d..aaacc255b 100644 --- a/contrib/lisp/org-export.el +++ b/contrib/lisp/org-export.el @@ -1368,7 +1368,7 @@ for export. Return options as a plist." (setq plist (nconc plist (org-export--parse-option-keyword prop backend)))) ;; Handle other keywords. TITLE keyword is excluded as it has - ;; already been handled already. + ;; been handled already. (let ((seen '("TITLE"))) (mapc (lambda (option) diff --git a/lisp/org-element.el b/lisp/org-element.el index 1e185530b..88748ae35 100644 --- a/lisp/org-element.el +++ b/lisp/org-element.el @@ -72,11 +72,12 @@ ;; refer to the beginning and ending buffer positions of the ;; considered element or object, `:post-blank', which holds the number ;; of blank lines, or white spaces, at its end and `:parent' which -;; refers to the element or object containing it. Greater elements -;; and elements containing objects will also have `:contents-begin' -;; and `:contents-end' properties to delimit contents and -;; a `:post-affiliated', referring to the buffer position after any -;; affiliated keyword, if applicable. +;; refers to the element or object containing it. Greater elements, +;; elements and objects containing objects will also have +;; `:contents-begin' and `:contents-end' properties to delimit +;; contents. Eventually, greater elements and elements accepting +;; affiliated keywords will have a `:post-affiliated' property, +;; referring to the buffer position after all such keywords. ;; ;; At the lowest level, a `:parent' property is also attached to any ;; string, as a text property. @@ -3960,7 +3961,7 @@ containing the secondary string. It is used to set correctly DATA is the parsed tree, as returned by, i.e, `org-element-parse-buffer'. TYPES is a symbol or list of symbols of elements or objects types. FUN is the function called on the -matching element or object. It must accept one arguments: the +matching element or object. It must accept one argument: the element or object itself. When optional argument INFO is non-nil, it should be a plist -- 2.11.4.GIT