summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-09-20 12:52:43 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-09-20 12:55:50 +0200
commit1ef71bf7e0fafdc9a9cadb012574b74ef209807b (patch)
tree5c909f64a281a5c9aaf85f7a131c02fe5fa2d044
parentdb1dab8abe41eb052aac8428262482f6c3974880 (diff)
downloadorg-mode-1ef71bf7e0fafdc9a9cadb012574b74ef209807b.tar.gz
Rephrase `org-cycle-global-at-bob' documantion
* doc/org.texi (Global and local cycling): Rephrase `org-cycle-global-at-bob' documantion. Reported-by: Alain.Cochard@unistra.fr <http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00447.html>
-rw-r--r--doc/org.texi12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/org.texi b/doc/org.texi
index 9294b07..e25a830 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -1256,13 +1256,8 @@ Org uses just two commands, bound to @key{TAB} and
@end example
@vindex org-cycle-emulate-tab
-@vindex org-cycle-global-at-bob
The cursor must be on a headline for this to work@footnote{see, however,
-the option @code{org-cycle-emulate-tab}.}. When the cursor is at the
-beginning of the buffer and the first line is not a headline, then
-@key{TAB} actually runs global cycling (see below)@footnote{see the
-option @code{org-cycle-global-at-bob}.}. Also when called with a prefix
-argument (@kbd{C-u @key{TAB}}), global cycling is invoked.
+the option @code{org-cycle-emulate-tab}.}.
@cindex global visibility states
@cindex global cycling
@@ -1282,6 +1277,11 @@ When @kbd{S-@key{TAB}} is called with a numeric prefix argument N, the
CONTENTS view up to headlines of level N will be shown. Note that inside
tables, @kbd{S-@key{TAB}} jumps to the previous field.
+@vindex org-cycle-global-at-bob
+You can run global cycling using @key{TAB} only if point is at the very
+beginning of the buffer and @code{org-cycle-global-at-bob} is set to
+a non-@code{nil} value.
+
@cindex set startup visibility, command
@orgcmd{C-u C-u @key{TAB},org-set-startup-visibility}
Switch back to the startup visibility of the buffer (@pxref{Initial visibility}).