branch: externals/org commit f49ee9200c748a988589219c99cce1097a478014 Merge: 71a5f75bbb 47bcdce19b Author: Ihor Radchenko <yanta...@posteo.net> Commit: Ihor Radchenko <yanta...@posteo.net>
Merge branch 'bugfix' --- doc/org-manual.org | 13 +++++++++---- lisp/org.el | 1 + 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index 0680fb5936..4fb017db8e 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -20021,11 +20021,16 @@ changes. | =nofnadjust= | Do not renumber and sort automatically. | #+vindex: org-hide-block-startup - To hide blocks on startup, use these keywords. The - corresponding variable is ~org-hide-block-startup~. + #+vindex: org-hide-drawer-startup + To hide blocks or drawers on startup, use these keywords. The + corresponding variables are ~org-hide-block-startup~ and + ~org-hide-drawer-startup~. + + | =hideblocks= | Hide all begin/end blocks on startup. | + | =nohideblocks= | Do not hide blocks on startup. | + | =hidedrawers= | Hide all begin/end blocks on startup. | + | =nohidedrawers= | Do not hide blocks on startup. | - | =hideblocks= | Hide all begin/end blocks on startup. | - | =nohideblocks= | Do not hide blocks on startup. | #+vindex: org-pretty-entities The display of entities as UTF-8 characters is governed by the diff --git a/lisp/org.el b/lisp/org.el index ec56458df9..4531032f73 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -102,6 +102,7 @@ (require 'org-cycle) (defvaralias 'org-hide-block-startup 'org-cycle-hide-block-startup) +(defvaralias 'org-hide-drawer-startup 'org-cycle-hide-drawer-startup) (defvaralias 'org-pre-cycle-hook 'org-cycle-pre-hook) (defvaralias 'org-tab-first-hook 'org-cycle-tab-first-hook) (defalias 'org-global-cycle #'org-cycle-global)