Browse Source

Fix code typo.

* lisp/org.el (org-cycle-hide-property-drawers): Fix code typo.
Nicolas Goaziou 1 month ago
parent
commit
eabc9712b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -6148,7 +6148,7 @@ STATE should be one of the symbols listed in the docstring of
 	(while (re-search-forward org-property-start-re end t)
 	  (pcase (get-char-property-and-overlay (point) 'invisible)
 	    ;; Do not fold already folded drawers.
-	    (`(_ . ,o) (goto-char (overlay-end o)))
+	    (`(,_ . ,o) (goto-char (overlay-end o)))
 	    (_
 	     (let ((start (match-end 0)))
 	       (when (org-at-property-drawer-p)