summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-11-03 10:40:25 +0100
committerLudovic Courtès <ludo@gnu.org>2020-11-03 11:58:01 +0100
commitdbf572e0077fba3a67c404d830da38861dda4587 (patch)
treea3cd9563fdb667920fe7de153349a00a30718701
parent0dc89c03684502c0702a7b9b3ae924d152d8f379 (diff)
doc: Use '@lisp' for 'options->transformation' example.
* doc/guix.texi (Defining Package Variants): Use @lisp for 'options->transformation' example.
-rw-r--r--doc/guix.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 3255ebac2e..a20e54f8ae 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -6919,10 +6919,10 @@ Return a procedure that, when passed an object to build (package,
derivation, etc.), applies the transformations specified by @var{opts} and returns
the resulting objects. @var{opts} must be a list of symbol/string pairs such as:
-@example
+@lisp
((with-branch . "guile-gcrypt=master")
(without-tests . "libgcrypt"))
-@end example
+@end lisp
Each symbol names a transformation and the corresponding string is an argument
to that transformation.