diff options
author | wlemb <wlemb> | 2001-09-05 17:45:49 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2001-09-05 17:45:49 +0000 |
commit | 24727da7af9913c7c06120214417eb741f5482c4 (patch) | |
tree | 6a23cec6410bfe4cb949cce43adea6e3320f513d | |
parent | 4a04157ad9ffa38a6dbe670ddabf7d74533f8c04 (diff) | |
download | groff-24727da7af9913c7c06120214417eb741f5482c4.tar.gz |
* src/roff/troff/troff.man: Remove superfluous line.
* tmac/s.tmac, contrib/mm/m.tmac: Enable all warnings only if no -W
or -w option is given on the command line (or rather, if only the
default warnings are set).
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | contrib/mm/m.tmac | 6 | ||||
-rw-r--r-- | src/roff/troff/troff.man | 1 | ||||
-rw-r--r-- | tmac/s.tmac | 5 |
4 files changed, 14 insertions, 6 deletions
@@ -1,3 +1,11 @@ +2001-09-05 Werner LEMBERG <wl@gnu.org> + + * src/roff/troff/troff.man: Remove superfluous line. + + * tmac/s.tmac, contrib/mm/m.tmac: Enable all warnings only if no -W + or -w option is given on the command line (or rather, if only the + default warnings are set). + 2001-09-03 Werner LEMBERG <wl@gnu.org> * contrib/mm/groff_mm.man, man/groff.man, src/preproc/eqn/eqn.man, diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac index e23e54b8..129d9e63 100644 --- a/contrib/mm/m.tmac +++ b/contrib/mm/m.tmac @@ -3,8 +3,8 @@ .ds RE \\$2 .. .\" -.\" $Id: m.tmac,v 2.5 2001/07/26 05:07:35 wlemb Exp $ -.@revision $Revision: 2.5 $ +.\" $Id: m.tmac,v 2.6 2001/09/05 17:45:49 wlemb Exp $ +.@revision $Revision: 2.6 $ .ig Copyright (C) 1991-2000 Free Software Foundation, Inc. @@ -34,7 +34,7 @@ Index array!index .. .if !\n(.g .ab These mm macros require groff. .if \n(.C .ab The groff mm macros do not work in compatibility mode. -.warn +.if (\n[.warn] == 65543) .warn .\" ######## init ####### .\" Contents level [0:7], contents saved if heading level <= Cl .nr Cl 2 diff --git a/src/roff/troff/troff.man b/src/roff/troff/troff.man index 27e47dca..fc663153 100644 --- a/src/roff/troff/troff.man +++ b/src/roff/troff/troff.man @@ -2216,7 +2216,6 @@ each name. Use of undefined number registers. When an undefined number register is used, that register is automatically defined to have a value of 0. -a definition is automatically made with a value of 0. So, in most cases, at most one warning will be given for use of a particular name. .TP diff --git a/tmac/s.tmac b/tmac/s.tmac index 91762a99..a73e5ccc 100644 --- a/tmac/s.tmac +++ b/tmac/s.tmac @@ -25,8 +25,9 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. .if !\n(.g .ab These ms macros require groff. .if \n(.C \ . ab The groff ms macros do not work in compatibility mode. -.\" Enable warnings. You can delete this if you want. -.warn +.\" Enable warnings (only if none are given on the command line). +.\" You can delete this if you want. +.if (\n[.warn] == 65543) .warn .\" See if already loaded. .if r GS .nx .nr GS 1 |