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.
This commit is contained in:
Nicolas Goaziou 2012-10-29 21:57:46 +01:00
parent 8fb5987e56
commit 1f3a2c42c6
2 changed files with 8 additions and 7 deletions

View File

@ -1368,7 +1368,7 @@ for export. Return options as a plist."
(setq plist (setq plist
(nconc plist (org-export--parse-option-keyword prop backend)))) (nconc plist (org-export--parse-option-keyword prop backend))))
;; Handle other keywords. TITLE keyword is excluded as it has ;; Handle other keywords. TITLE keyword is excluded as it has
;; already been handled already. ;; been handled already.
(let ((seen '("TITLE"))) (let ((seen '("TITLE")))
(mapc (mapc
(lambda (option) (lambda (option)

View File

@ -72,11 +72,12 @@
;; refer to the beginning and ending buffer positions of the ;; refer to the beginning and ending buffer positions of the
;; considered element or object, `:post-blank', which holds the number ;; considered element or object, `:post-blank', which holds the number
;; of blank lines, or white spaces, at its end and `:parent' which ;; of blank lines, or white spaces, at its end and `:parent' which
;; refers to the element or object containing it. Greater elements ;; refers to the element or object containing it. Greater elements,
;; and elements containing objects will also have `:contents-begin' ;; elements and objects containing objects will also have
;; and `:contents-end' properties to delimit contents and ;; `:contents-begin' and `:contents-end' properties to delimit
;; a `:post-affiliated', referring to the buffer position after any ;; contents. Eventually, greater elements and elements accepting
;; affiliated keyword, if applicable. ;; 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 ;; At the lowest level, a `:parent' property is also attached to any
;; string, as a text property. ;; 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, DATA is the parsed tree, as returned by, i.e,
`org-element-parse-buffer'. TYPES is a symbol or list of symbols `org-element-parse-buffer'. TYPES is a symbol or list of symbols
of elements or objects types. FUN is the function called on the 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. element or object itself.
When optional argument INFO is non-nil, it should be a plist When optional argument INFO is non-nil, it should be a plist