From 9455024b32a94171e70c7ef364a0ae0aad3658ec Mon Sep 17 00:00:00 2001 From: Rudolf Adamkovic Date: Tue, 27 Aug 2024 13:50:18 +0200 Subject: [PATCH] doc/org-manual.org: Update a deprecated function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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." --- doc/org-manual.org | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index 9365c66b1..c24df71a3 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -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. -- 2.39.3 (Apple Git-146)