Browse Source

Small fix in `org-cycle-hide-property-drawers'

* lisp/org.el (org-cycle-hide-property-drawers): Ignore case when
looking for the end of a property drawer.
Nicolas Goaziou 1 month ago
parent
commit
20c1322194
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lisp/org.el

+ 2 - 1
lisp/org.el

@@ -6156,7 +6156,8 @@ STATE should be one of the symbols listed in the docstring of
 	    (_
 	     (let ((start (match-end 0)))
 	       (when (org-at-property-drawer-p)
-		 (let ((end (re-search-forward org-property-end-re)))
+		 (let* ((case-fold-search t)
+			(end (re-search-forward org-property-end-re)))
 		   ;; Property drawers use `outline' invisibility spec
 		   ;; so they can be swallowed once we hide the
 		   ;; outline.