Explorar o código

org-element: Fix outdated comment

Nicolas Goaziou %!s(int64=10) %!d(string=hai) anos
pai
achega
3f88821f01
Modificáronse 1 ficheiros con 3 adicións e 8 borrados
  1. 3 8
      lisp/org-element.el

+ 3 - 8
lisp/org-element.el

@@ -4117,14 +4117,9 @@ looking into captions:
 ;; level.
 ;;
 ;; The second one, `org-element--parse-objects' applies on all objects
-;; of a paragraph or a secondary string.
-;;
-;; More precisely, that function looks for every allowed object type
-;; first.  Then, it discards failed searches, keeps further matches,
-;; and searches again types matched behind point, for subsequent
-;; calls.  Thus, searching for a given type fails only once, and every
-;; object is searched only once at top level (but sometimes more for
-;; nested types).
+;; of a paragraph or a secondary string.  It calls
+;; `org-element--object-lex' to find the next object in the current
+;; container.
 
 (defsubst org-element--next-mode (type parentp)
   "Return next special mode according to TYPE, or nil.