@@ -700,7 +700,7 @@ is cleared and contents are removed in the process."
700700 ;; DATUM is i.e. a headline, it's property list (`:title'
701701 ;; in case of headline) can contain parsed objects. The
702702 ;; objects will contain `:parent' property set to the DATUM
703- ;; iteself . When copied, these inner `:parent' propery
703+ ;; itself . When copied, these inner `:parent' propery
704704 ;; values will contain incorrect object decoupled from
705705 ;; DATUM. Changes to the DATUM copy will not longer be
706706 ;; reflected in the `:parent' properties. So, we need to
@@ -1289,7 +1289,7 @@ parser (e.g. `:end' and :END:). Return value is a plist."
12891289 (category (catch 'buffer-category
12901290 (unless org-element-org-data-parser--recurse
12911291 (org-with-point-at end
1292- ;; Avoid recusrive calls from
1292+ ;; Avoid recursive calls from
12931293 ;; `org-element-at-point-no-context'.
12941294 (let ((org-element-org-data-parser--recurse t))
12951295 (while (re-search-backward "^[ \t]*#\\+CATEGORY:" (point-min) t)
@@ -6092,7 +6092,7 @@ completing the request."
60926092 (log org-element--cache-size 2))
60936093 (org-element-cache-reset)
60946094 (throw 'org-element--cache-quit t)))
6095- ;; Done deleting everthing starting before END.
6095+ ;; Done deleting everything starting before END.
60966096 ;; DATA-KEY is the first known element after END.
60976097 ;; Move on to phase 1.
60986098 (org-element--cache-log-message
@@ -6664,7 +6664,7 @@ The function returns the new value of `org-element--cache-change-warning'."
66646664 ;; `org-element--cache-submit-request'). After the edit, we want to
66656665 ;; look if there was a sensitive removed during edit.
66666666 ;; FIXME: This is not the most efficient way and we now
6667- ;; have to delete more elemetns than needed in some
6667+ ;; have to delete more elements than needed in some
66686668 ;; cases. A better approach may be storing the warning
66696669 ;; in the modification request itself.
66706670 (let ((org-element--cache-change-warning-before org-element--cache-change-warning)
@@ -6748,7 +6748,7 @@ that range. See `after-change-functions' for more information."
67486748 "This variable controls how buffer changes are handled by the cache.
67496749
67506750By default (when this variable is nil), cache re-parses modified
6751- headlines immidiately after modification preserving all the unaffected
6751+ headlines immediately after modification preserving all the unaffected
67526752elements inside the headline.
67536753
67546754The default behaviour works best when users types inside Org buffer of
@@ -6870,7 +6870,7 @@ known element in cache (it may start after END)."
68706870 ;; costly. Instead, we should better re-parse only the
68716871 ;; headline itself when possible. If a headline is still
68726872 ;; starting from old :begin position, we do not care that
6873- ;; its boundaries could have extended to shrinked - we
6873+ ;; its boundaries could have extended to shrunk - we
68746874 ;; will re-parent and shift them anyway.
68756875 (and (eq 'headline (org-element-type up))
68766876 (not org-element--cache-avoid-synchronous-headline-re-parsing)
@@ -7154,7 +7154,7 @@ The element is: %S\n The real element is: %S\n Cache around :begin:\n%S\n%S\n%S"
71547154 (cdr (org-element--cache-find (org-element-property :begin real-element) 'both)))
71557155 (org-element-cache-reset))))))
71567156
7157- ;;; Cache persistance
7157+ ;;; Cache persistence
71587158
71597159(defun org-element--cache-persist-before-write (container &optional associated)
71607160 "Sync cache before saving."
0 commit comments