summaryrefslogtreecommitdiff
path: root/tmac/s.tmac
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-09-05 17:45:49 +0000
committerwlemb <wlemb>2001-09-05 17:45:49 +0000
commit24727da7af9913c7c06120214417eb741f5482c4 (patch)
tree6a23cec6410bfe4cb949cce43adea6e3320f513d /tmac/s.tmac
parent4a04157ad9ffa38a6dbe670ddabf7d74533f8c04 (diff)
downloadgroff-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).
Diffstat (limited to 'tmac/s.tmac')
-rw-r--r--tmac/s.tmac5
1 files changed, 3 insertions, 2 deletions
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