summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2022-09-25 11:38:11 +0200
committerMathieu Othacehe <othacehe@gnu.org>2022-09-25 11:38:11 +0200
commite842aeb8c16c9f955f26700620cb7146b1fe2e39 (patch)
treef2d199b5b69c17940a0cc7a37f999db1bbee9e5a /doc
parent506e0aa438dccdbb22beef529ffa8284242f5fbd (diff)
downloadguix-e842aeb8c16c9f955f26700620cb7146b1fe2e39.tar.gz
doc: Turn example to lisp.
* doc/guix.texi (System Images): Turn example snippets to lisp snippets.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 36a9e87619..c534574f81 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -41711,7 +41711,7 @@ A Docker image that can be used to spawn a Docker container.
 Using the @code{efi-disk-image} we can simplify our previous
 @code{image} declaration this way:
 
-@example
+@lisp
 (use-modules (gnu)
              (gnu image)
              (gnu tests)
@@ -41740,7 +41740,7 @@ Using the @code{efi-disk-image} we can simplify our previous
   (match (image-partitions efi-disk-image)
     ((esp root)
      (list esp data root)))))
-@end example
+@end lisp
 
 This will give the exact same @code{image} instantiation but the
 @code{image} declaration is simpler.
@@ -41902,12 +41902,12 @@ Now, thanks to the @code{pine64-image-type} record declaring the
 @code{'pine64-raw} @code{image-type}, one could also prepare a
 @code{my-pine.scm} file with the following content:
 
-@example
+@lisp
 (use-modules (gnu system images pine64))
 (operating-system
   (inherit pine64-barebones-os)
   (timezone "Europe/Athens"))
-@end example
+@end lisp
 
 to customize the @code{pine64-barebones-os}, and run: