Skip to content

Commit

Permalink
Make outline-indent--next-lower-or-equal-indentation use (outline-ind…
Browse files Browse the repository at this point in the history
…ent-level)
  • Loading branch information
jamescherti committed Jan 30, 2025
1 parent ef49c67 commit 6a91d25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions outline-indent.el
Original file line number Diff line number Diff line change
Expand Up @@ -253,10 +253,10 @@ indentation as the current line."
(found-point nil))
(save-excursion
(beginning-of-visual-line)
(setq initial-indentation (current-indentation))
(setq initial-indentation (outline-indent-level))
(while (and (not found-point) (not (eobp)))
(forward-line 1)
(if (and (>= initial-indentation (current-indentation))
(if (and (>= initial-indentation (outline-indent-level))
(not (looking-at-p "^[ \t]*$")))
(setq found-point (point))))

Expand Down

0 comments on commit 6a91d25

Please sign in to comment.