From 6a91d2506603a20140ea27f7ad31df2ec189fa7b Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Thu, 30 Jan 2025 15:13:33 -0500 Subject: [PATCH] Make outline-indent--next-lower-or-equal-indentation use (outline-indent-level) --- outline-indent.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/outline-indent.el b/outline-indent.el index 3eb95ae..38a77d5 100644 --- a/outline-indent.el +++ b/outline-indent.el @@ -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))))