emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org-modern 787e69884e 35/65: Fix regexp search for end


From: ELPA Syncer
Subject: [elpa] externals/org-modern 787e69884e 35/65: Fix regexp search for end of block
Date: Mon, 7 Mar 2022 12:57:47 -0500 (EST)

branch: externals/org-modern
commit 787e69884e019e4ee45676edf851098fed2f6628
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Fix regexp search for end of block
---
 org-modern.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/org-modern.el b/org-modern.el
index 8395c6adf6..4112d4174b 100644
--- a/org-modern.el
+++ b/org-modern.el
@@ -409,8 +409,9 @@ Set to nil to disable the indicator."
     (forward-line)
     (while (not (or (eobp)
                     (save-excursion
-                      (re-search-forward
-                       "^[ \t]*#\\+end_" (line-end-position) 'noerror))))
+                      (let ((case-fold-search t))
+                        (re-search-forward
+                         "^[ \t]*#\\+end_" (line-end-position) 'noerror)))))
       (add-text-properties
        (point) (min (1+ (line-end-position)) (point-max))
        '(wrap-prefix



reply via email to

[Prev in Thread] Current Thread [Next in Thread]