Browse Source

`org-startup-folded' defaults to `showeverything'

* lisp/org.el (org-startup-folded): New default value.

See <http://lists.gnu.org/r/emacs-orgmode/2020-04/msg00452.html>.
Nicolas Goaziou 4 years ago
parent
commit
88f5ed91c5
2 changed files with 4 additions and 1 deletions
  1. 2 0
      etc/ORG-NEWS
  2. 2 1
      lisp/org.el

+ 2 - 0
etc/ORG-NEWS

@@ -91,6 +91,8 @@ These options now defaults to =t=:
 You may want to read the docstrings of these options to understand the
 consequences of this change.
 
+Also, ~org-startup-folded~ now defaults to ~showeverything~.
+
 ** New features
 
 *** Looping agenda commands over headlines

+ 2 - 1
lisp/org.el

@@ -928,7 +928,7 @@ equivalent option for agenda views."
   :group 'org-todo
   :group 'org-archive)
 
-(defcustom org-startup-folded t
+(defcustom org-startup-folded 'showeverything
   "Non-nil means entering Org mode will switch to OVERVIEW.
 
 This can also be configured on a per-file basis by adding one of
@@ -943,6 +943,7 @@ Set `org-agenda-inhibit-startup' to a non-nil value if you want
 to ignore this option when Org opens agenda files for the first
 time."
   :group 'org-startup
+  :package-version '(Org . "9.4")
   :type '(choice
 	  (const :tag "nofold: show all" nil)
 	  (const :tag "fold: overview" t)