groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: doc/groff.texi: Remove incorrect claim.


From: G. Branden Robinson
Subject: [groff] 01/01: doc/groff.texi: Remove incorrect claim.
Date: Tue, 14 Apr 2020 00:23:56 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit bde9d0279f579ea8b1a35d87d24e58e5d5cf9b41
Author: G. Branden Robinson <address@hidden>
AuthorDate: Tue Apr 14 14:09:07 2020 +1000

    doc/groff.texi: Remove incorrect claim.
    
    The .C register cannot be manipulated manually.
    
    $ ./build/test-groff -Tutf8
    .nr .C 1
    troff: backtrace: file '<standard input>':1
    troff: <standard input>:1: error: can't write read-only register
    
    This has been true since 1991.
    
    ^351da0dc troff/input.c (James Clark 1991-06-02 04:20:34 -0500 8302)
        number_reg_dictionary.define(".C",
        new constant_int_reg(&compatible_flag));
---
 doc/groff.texi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/doc/groff.texi b/doc/groff.texi
index fb87924..bca067d 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -14365,8 +14365,7 @@ command-line option.
 The @code{do} request turns off compatibility mode while executing its
 arguments as a @code{gtroff} command.  However, it does not turn off
 compatibility mode while processing the macro itself.  To do that, use
-the @code{de1} request (or manipulate the @code{.C} register manually).
-@xref{Writing Macros}.
+the @code{de1} request.  @xref{Writing Macros}.
 
 @Example
 .do fam T



reply via email to

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