diff --git a/lisp/org.el b/lisp/org.el index 362e04f50..c008c7988 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5711,7 +5711,7 @@ highlighting was done, nil otherwise." If this is called at a normal headline, the level is the number of stars. Use `org-reduced-level' to remove the effect of -`org-odd-levels'. Unlike to `org-current-level', this function +`org-odd-levels-only'. Unlike `org-current-level', this function takes into consideration inlinetasks." (org-with-wide-buffer (end-of-line) @@ -6645,7 +6645,7 @@ headings in the region." "Return the level of the current entry, or nil if before the first headline. The level is the number of stars at the beginning of the headline. Use `org-reduced-level' to remove the effect of -`org-odd-levels'. Unlike to `org-outline-level', this function +`org-odd-levels-only'. Unlike `org-outline-level', this function ignores inlinetasks." (let ((level (org-with-limited-levels (org-outline-level)))) (and (> level 0) level)))