summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank LENORMAND <lenormf@gmail.com>2019-11-03 08:53:11 +0100
committerFrank LENORMAND <lenormf@gmail.com>2019-11-03 08:53:11 +0100
commitdde3d57b1f26646fd3789f8b065a3c53cdcd3de3 (patch)
tree83210368e1a118c6b2082f5e53fe77253171c1c4
parentec31d839724cfd0f8431c04509f1f1d2b5fa1290 (diff)
doc commands: Document auto-generated scratch buffer names
-rw-r--r--doc/pages/commands.asciidoc4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/pages/commands.asciidoc b/doc/pages/commands.asciidoc
index 2ef0f3a9..d85d336a 100644
--- a/doc/pages/commands.asciidoc
+++ b/doc/pages/commands.asciidoc
@@ -41,7 +41,9 @@ of the file onto the filesystem
*-scratch*:::
Creates a new buffer named <filename>, which doesn't correspond to any
- file on disk.
+ file on disk. If no filename is given, the buffer name will be
+ generated based on format `\*scratch-$ID\*`, where `$ID` is an
+ integer automatically incremented for new buffers.
(See <<buffers#scratch-buffers,`:doc buffers scratch-buffers`>>)
*-scroll*:::