diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-05-12 12:33:21 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2020-05-12 12:33:21 +0200 |
commit | 88f5ed91c5cf9cb6962c1b441eac7dbab9a4734e (patch) | |
tree | 287e4e74be8c3de37229cef4da6b5084f9d4985a | |
parent | 20c13221942183290dc440ca6ba91597f243b9e7 (diff) | |
download | org-mode-88f5ed91c5cf9cb6962c1b441eac7dbab9a4734e.tar.gz |
`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>.
-rw-r--r-- | etc/ORG-NEWS | 2 | ||||
-rw-r--r-- | lisp/org.el | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS index da555ee..d2cdd8f 100644 --- a/etc/ORG-NEWS +++ b/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 diff --git a/lisp/org.el b/lisp/org.el index 4478b3b..ef2e619 100644 --- a/lisp/org.el +++ b/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) |