groff
[Top][All Lists]
Advanced

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

Re: [Groff] Another hdtbl patch


From: Tadziu Hoffmann
Subject: Re: [Groff] Another hdtbl patch
Date: Thu, 4 Feb 2010 10:16:48 +0100
User-agent: Mutt/1.5.17 (2007-11-01)

> [...] but live in fear that I have accidentally overridden
> some tremendously important macro in a package that I am
> about to use.

You can guard yourself against accidentally overwriting
existing macros by building a wrapper around "de" which
tests whether the name to be defined already exists:

  .rn de de!
  .de! de
  .ie d\\$1 .ab Will not redefine existing "\\$1".  Aborting...
  .el .de! \\$*
  ..






reply via email to

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