|
@@ -119,6 +119,16 @@ This can also be set in on a per-file basis with
|
|
|
:group 'org-cycle
|
|
:group 'org-cycle
|
|
|
:type 'boolean)
|
|
:type 'boolean)
|
|
|
|
|
|
|
|
|
|
+(defcustom org-cycle-hide-drawer-startup t
|
|
|
|
|
+ "Non-nil means entering Org mode will fold all drawers.
|
|
|
|
|
+This can also be set in on a per-file basis with
|
|
|
|
|
+
|
|
|
|
|
+#+STARTUP: hidedrawers
|
|
|
|
|
+#+STARTUP: nohidedrawers"
|
|
|
|
|
+ :group 'org-startup
|
|
|
|
|
+ :group 'org-cycle
|
|
|
|
|
+ :type 'boolean)
|
|
|
|
|
+
|
|
|
(defcustom org-cycle-global-at-bob nil
|
|
(defcustom org-cycle-global-at-bob nil
|
|
|
"Cycle globally if cursor is at beginning of buffer and not at a headline.
|
|
"Cycle globally if cursor is at beginning of buffer and not at a headline.
|
|
|
|
|
|
|
@@ -603,7 +613,7 @@ With a numeric prefix, show all headlines up to that level."
|
|
|
(when org-cycle-hide-block-startup (org-fold-hide-block-all))
|
|
(when org-cycle-hide-block-startup (org-fold-hide-block-all))
|
|
|
(org-cycle-set-visibility-according-to-property)
|
|
(org-cycle-set-visibility-according-to-property)
|
|
|
(org-cycle-hide-archived-subtrees 'all)
|
|
(org-cycle-hide-archived-subtrees 'all)
|
|
|
- (org-cycle-hide-drawers 'all)
|
|
|
|
|
|
|
+ (when org-cycle-hide-drawer-startup (org-cycle-hide-drawers 'all))
|
|
|
(org-cycle-show-empty-lines t)))
|
|
(org-cycle-show-empty-lines t)))
|
|
|
|
|
|
|
|
(defun org-cycle-set-visibility-according-to-property ()
|
|
(defun org-cycle-set-visibility-according-to-property ()
|