Function: cl-macroexpand

cl-macroexpand is a function alias for macroexpand, defined in eval.c.

This function is obsolete since 24.3; use macroexpand instead.

Signature

(cl-macroexpand FORM &optional ENVIRONMENT)

Documentation

Return result of expanding macros at top level of FORM.

If FORM is not a macro call, it is returned unchanged. Otherwise, the macro is expanded and the expansion is considered in place of FORM. When a non-macro-call results, it is returned.

The second optional arg ENVIRONMENT specifies an environment of macro definitions to shadow the loaded ones for use in file byte-compilation.

Aliases

cl-macroexpand (obsolete since 24.3)