Browse Source

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.
Nicolas Goaziou 12 years ago
parent
commit
1f3a2c42c6
2 changed files with 8 additions and 7 deletions
  1. 1 1
      contrib/lisp/org-export.el
  2. 7 6
      lisp/org-element.el

+ 1 - 1
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)

+ 7 - 6
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