GNU Info

Info Node: (m4.info)Undefine

(m4.info)Undefine


Next: Defn Prev: Pseudo Arguments Up: Definitions
Enter node , (file) or (file)node

Deleting a macro
================

   A macro definition can be removed with `undefine':

     undefine(NAME)

which removes the macro NAME.  The macro name must necessarily be
quoted, since it will be expanded otherwise.

   The expansion of `undefine' is void.

     foo
     =>foo
     define(`foo', `expansion text')
     =>
     foo
     =>expansion text
     undefine(`foo')
     =>
     foo
     =>foo

   It is not an error for NAME to have no macro definition.  In that
case, `undefine' does nothing.

   The macro `undefine' is recognized only with parameters.


automatically generated by info2www version 1.2.2.9