From 93c251818dcd2bf5f60f42e595504293ee83371a Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 19 Oct 2020 22:46:35 +0200 Subject: doc: More uses of @lisp instead of @example. * doc/guix.texi (G-Expressions): Use @lisp for 'let-system' example. * doc/contributing.texi (Synopses and Descriptions): Use @lisp for second example. --- doc/contributing.texi | 4 ++-- doc/guix.texi | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/contributing.texi b/doc/contributing.texi index 11a932a9bf..26a4627464 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -605,11 +605,11 @@ to make recommendations or instructions visible to them by inserting special comments like this (@pxref{xgettext Invocation,,, gettext, GNU Gettext}): -@example +@lisp ;; TRANSLATORS: "X11 resize-and-rotate" should not be translated. (description "ARandR is designed to provide a simple visual front end for the X11 resize-and-rotate (RandR) extension. @dots{}") -@end example +@end lisp @node Snippets versus Phases @subsection Snippets versus Phases diff --git a/doc/guix.texi b/doc/guix.texi index 1b29833dba..7eba12aa44 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -9396,7 +9396,7 @@ cross-compiling. @code{let-system} is useful in the occasional case where the object spliced into the gexp depends on the target system, as in this example: -@example +@lisp #~(system* #+(let-system system (cond ((string-prefix? "armhf-" system) @@ -9406,7 +9406,7 @@ spliced into the gexp depends on the target system, as in this example: (else (error "dunno!")))) "-net" "user" #$image) -@end example +@end lisp @end deffn @deffn {Scheme Syntax} with-parameters ((@var{parameter} @var{value}) @dots{}) @var{exp} -- cgit v1.2.3