Skip to content

Commit 19ed638

Browse files
committed
docs: Reword paragraph in tutorial.
1 parent fb55406 commit 19ed638

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/source/tutorial.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ the window. To better understand what this means, add the option
140140
(should (equal "hello, world!"
141141
(buffer-string))))))
142142
143-
The above fail, and in the error message, and the buffers listed
144-
there, you'll see the entire Emacs frame that was grabbed, including
145-
the mode line and message area.
143+
Running the above with ERT will fail, and in the error message and the
144+
buffers listed there, you'll see the entire Emacs frame that was
145+
grabbed, including the mode line and message area.
146146

147147
``turtles-with-grab-buffers`` (:ref:`grab`) supports different keyword
148148
arguments that let you choose a section of the screen to grab and

turtles.texi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -345,17 +345,17 @@ to ask the instance to create a new frame to show the buffer.
345345
@code{turtles-with-grab-buffer} doesn’t just grab the window content, but
346346
actually the whole frame, then strips out everything that’s outside
347347
the window. To better understand what this means, add the option
348-
@code{frame t}, as shown below, and run the tests again:
348+
@code{:frame t}, as shown below, and run the tests again:
349349

350350
@example
351351
(turtles-with-grab-buffer (:frame t)
352352
(should (equal "hello, world!"
353353
(buffer-string))))))
354354
@end example
355355

356-
The above fail, and in the error message, and the buffers listed
357-
there, you’ll see the entire Emacs frame that was grabbed, including
358-
the mode line and message area.
356+
Running the above with ERT will fail, and in the error message and the
357+
buffers listed there, you’ll see the entire Emacs frame that was
358+
grabbed, including the mode line and message area.
359359

360360
@code{turtles-with-grab-buffers} (@ref{c,,Screen Grab}) supports different keyword
361361
arguments that let you choose a section of the screen to grab and

0 commit comments

Comments
 (0)