guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/04: doc: More uses of @lisp instead of @example.


From: guix-commits
Subject: 04/04: doc: More uses of @lisp instead of @example.
Date: Mon, 19 Oct 2020 19:08:48 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 93c251818dcd2bf5f60f42e595504293ee83371a
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Oct 19 22:46:35 2020 +0200

    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 11a932a..26a4627 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 1b29833..7eba12a 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}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]