Browse Source

Properly hide new property drawers

* lisp/org.el (org-insert-property-drawer): Fix typo.
Nicolas Goaziou 1 month ago
parent
commit
76f5cbd5a5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -13143,7 +13143,7 @@ drawer is immediately hidden."
 	   (inhibit-read-only t))
        (unless (bobp) (insert "\n"))
        (insert ":PROPERTIES:\n:END:")
-       (org-flag-region (line-end-position 0) (point) t 'org-hide-drawer)
+       (org-flag-region (line-end-position 0) (point) t 'outline)
        (when (or (eobp) (= begin (point-min))) (insert "\n"))
        (org-indent-region begin (point))))))