Преглед на файлове

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 преди 5 години
родител
ревизия
20c1322194
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  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.