1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-10-18 02:19:46 +00:00

doc/org-manual.org: Update a deprecated function

* doc/org-manual.org (Global and local cycling):
(Initial visibility): Replace `org-set-startup-visibility' with
`org-cycle-set-startup-visibility' as per "This function is obsolete
since 9.6; use ‘org-cycle-set-startup-visibility’ instead."
This commit is contained in:
Rudolf Adamkovic 2024-08-27 13:50:18 +02:00 committed by Ihor Radchenko
parent 6a5d0ed342
commit 3428b522fb
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B

View File

@ -604,11 +604,11 @@ Org uses just two commands, bound to {{{kbd(TAB)}}} and
the very beginning of the buffer, but not on a headline, and
~org-cycle-global-at-bob~ is set to a non-~nil~ value.
- {{{kbd(C-u C-u TAB)}}} (~org-set-startup-visibility~) ::
- {{{kbd(C-u C-u TAB)}}} (~org-cycle-set-startup-visibility~) ::
#+cindex: startup visibility
#+kindex: C-u C-u TAB
#+findex: org-set-startup-visibility
#+findex: org-cycle-set-startup-visibility
Switch back to the startup visibility of the buffer (see [[*Initial
visibility]]).
@ -695,10 +695,10 @@ Furthermore, any entries with a =VISIBILITY= property (see [[*Properties
and Columns]]) get their visibility adapted accordingly. Allowed values
for this property are =folded=, =children=, =content=, and =all=.
- {{{kbd(C-u C-u TAB)}}} (~org-set-startup-visibility~) ::
- {{{kbd(C-u C-u TAB)}}} (~org-cycle-set-startup-visibility~) ::
#+kindex: C-u C-u TAB
#+findex: org-set-startup-visibility
#+findex: org-cycle-set-startup-visibility
Switch back to the startup visibility of the buffer, i.e., whatever
is requested by startup options and =VISIBILITY= properties in
individual entries.