diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-10-29 21:57:46 +0100 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-10-29 21:57:46 +0100 |
commit | 1f3a2c42c6317a4b0e97b237f079c51f0028cc90 (patch) | |
tree | 6a4989510693981a195ac9ad350025d40e2a97de | |
parent | 8fb5987e562a447a520179df438b1970a4a7e5bd (diff) | |
download | org-mode-1f3a2c42c6317a4b0e97b237f079c51f0028cc90.tar.gz |
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.
-rw-r--r-- | contrib/lisp/org-export.el | 2 | ||||
-rw-r--r-- | 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 dc601d4..aaacc25 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 1e18553..88748ae 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 |