aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorBasil L. Contovounesios2021-10-05 15:31:17 +0100
committerBasil L. Contovounesios2021-10-05 15:34:54 +0100
commite8cedbfcd1a10f8b03d59f109e2ac86f0411be04 (patch)
tree1206a34eaf22a15a3b03567f03be0c425498e64a /doc/misc
parentd652efcd087099c71cd76c4bbf2bbf04314844b4 (diff)
downloademacs-e8cedbfcd1a10f8b03d59f109e2ac86f0411be04.tar.gz
emacs-e8cedbfcd1a10f8b03d59f109e2ac86f0411be04.zip
Fix recent "erts files" additions in ERT manual
* doc/misc/ert.texi (erts files): Indent examples with spaces rather than tabs, since Texinfo treats tab characters as a single space; see (info "(texinfo) @example"). Fix typos/thinkos.
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/ert.texi14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/misc/ert.texi b/doc/misc/ert.texi
index 0eb9cdf09f6..770a5b77493 100644
--- a/doc/misc/ert.texi
+++ b/doc/misc/ert.texi
@@ -800,7 +800,7 @@ Name: flet
800(bla 42)) 800(bla 42))
801=-= 801=-=
802(cl-flet ((bla (x) 802(cl-flet ((bla (x)
803 (* x x))) 803 (* x x)))
804 (bla 42)) 804 (bla 42))
805=-=-= 805=-=-=
806 806
@@ -809,12 +809,12 @@ Name: defun
809=-= 809=-=
810(defun x () 810(defun x ()
811 (print (quote ( thingy great 811 (print (quote ( thingy great
812 stuff)))) 812 stuff))))
813=-=-= 813=-=-=
814@end example 814@end example
815 815
816A test starts with a line containing just @samp{=-=} and ends with a 816A test starts with a line containing just @samp{=-=} and ends with a
817line containing just just @samp{=-=-=}. The test may be preceded by 817line containing just @samp{=-=-=}. The test may be preceded by
818freeform text (for instance, comments), and also name/value pairs (see 818freeform text (for instance, comments), and also name/value pairs (see
819below for a list of them). 819below for a list of them).
820 820
@@ -838,7 +838,7 @@ Here's an example usage:
838 838
839A list of the name/value specifications that can appear before a test 839A list of the name/value specifications that can appear before a test
840follows. The general syntax is @samp{Name: Value}, but continuation 840follows. The general syntax is @samp{Name: Value}, but continuation
841lines can be used (along the same lines as in mail -- subsequent lines 841lines can be used (along the same lines as in mail---subsequent lines
842that start with a space are part of the value). 842that start with a space are part of the value).
843 843
844@example 844@example
@@ -849,8 +849,8 @@ Code: (indent-region
849 849
850@table @samp 850@table @samp
851@item Name 851@item Name
852All tests should have a name. This name will appear in the output 852All tests should have a name. This name will appear in ERT output if
853from ert if the test fails, and helps identifying the failing test. 853the test fails, and helps to identify the failing test.
854 854
855@item Code 855@item Code
856This is the code that will be run to do the transform. This can also 856This is the code that will be run to do the transform. This can also
@@ -867,7 +867,7 @@ specify.)
867 867
868@item Point-Char 868@item Point-Char
869Sometimes it's useful to be able to put point at a specific place 869Sometimes it's useful to be able to put point at a specific place
870before executing the transform character. @samp{Point-Char: |} will 870before executing the transform function. @samp{Point-Char: |} will
871make @code{ert-test-erts-file} place point where @samp{|} is in the 871make @code{ert-test-erts-file} place point where @samp{|} is in the
872``before'' form (and remove that character), and will check that it's 872``before'' form (and remove that character), and will check that it's
873where the @samp{|} character is in the ``after'' form (and issue a 873where the @samp{|} character is in the ``after'' form (and issue a