Developer`
Developer`

$InactivateExclusions

$InactivateExclusions

is a variable whose value is used to determine which heads Inactivate should ignore.

Details and Options

  • To use $InactivateExclusions, you first need to load the Developer Utilities Package using Needs["Developer`"].
  • $InactivateExclusions contains a list of pairs of the form {h,extype} where h is a symbol and extype is either "Symbol" or "Expression". The pair {h,"Symbol"} indicates that Inactivate should ignore the head h itself but not its contents, whereas the pair {h,"Expression"} indicates that Inactivate should ignore any part of the input with head h.
  • $InactivateExclusions can be restored to its default value using Unset.

Examples

open allclose all

Basic Examples  (2)

Force all symbols to be inactivated:

Normally List would be ignored:

Ignore List but not its contents:

Ignore List and its contents:

Scope  (2)

Ignore g and its contents, and ignore h but not its contents:

Ignore these functions in addition to the normal defaults:

Ignore no symbols:

Restore $InactivateExclusions to its default value:

Now List is ignored:

Wolfram Research (2014), $InactivateExclusions, Wolfram Language function, https://reference.wolfram.com/language/Developer/ref/$InactivateExclusions.html.

Text

Wolfram Research (2014), $InactivateExclusions, Wolfram Language function, https://reference.wolfram.com/language/Developer/ref/$InactivateExclusions.html.

CMS

Wolfram Language. 2014. "$InactivateExclusions." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Developer/ref/$InactivateExclusions.html.

APA

Wolfram Language. (2014). $InactivateExclusions. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Developer/ref/$InactivateExclusions.html

BibTeX

@misc{reference.wolfram_2023_$inactivateexclusions, author="Wolfram Research", title="{$InactivateExclusions}", year="2014", howpublished="\url{https://reference.wolfram.com/language/Developer/ref/$InactivateExclusions.html}", note=[Accessed: 29-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_$inactivateexclusions, organization={Wolfram Research}, title={$InactivateExclusions}, year={2014}, url={https://reference.wolfram.com/language/Developer/ref/$InactivateExclusions.html}, note=[Accessed: 29-March-2024 ]}