                      )
                  return value
  
          disabled_pipes = cls._resolve_component_status(
              fetch_pipes_status(disable, "disabled"),
              fetch_pipes_status(enable, "enabled"),
              config["nlp"]["pipeline"],
          )
          nlp._disabled = set(p for p in disabled_pipes if p not in exclude)
  
          nlp.batch_size = config["nlp"]["batch_size"]
 
</s> remove             to_disable = [
                pipe_name for pipe_name in pipe_names if pipe_name not in enable
            ]
            if disable and disable != to_disable:
 </s> add             to_disable = {
                *[pipe_name for pipe_name in pipe_names if pipe_name not in enable],
                *disable,
            }
            # If any pipe to be enabled is in to_disable, the specification is inconsistent.
            if len(set(enable) & to_disable): </s> remove         with pytest.warns(UserWarning):
            nlp4 = spacy.load(d, disable=["ner"])
    assert nlp4.pipe_names == ["tagger"]
 </s> add         nlp4 = spacy.load(d, disable=["ner"])
    assert nlp4.pipe_names == [] </s> remove     assert nlp4.disabled == ["ner"]
 </s> add     assert nlp4.disabled == ["ner", "tagger"] </s> remove                 enable=["tagger"],
                disable=[],
                config={"nlp": {"disabled": ["senter"]}},
 </s> add                 enable=["senter"],
                config={"nlp": {"disabled": ["senter", "tagger"]}},
            list({*disable, *config["nlp"].get("disabled", [])}),
            enable,
                      )
                  return value
  
          disabled_pipes = cls._resolve_component_status(
            list({*disable, *config["nlp"].get("disabled", [])}),
            enable,
            list({*disable, *config["nlp"].get("disabled", [])}),
            enable,
              config["nlp"]["pipeline"],
          )
          nlp._disabled = set(p for p in disabled_pipes if p not in exclude)
  
          nlp.batch_size = config["nlp"]["batch_size"]
keep keep keep keep replace replace keep keep keep keep keep
 Revert disable/disabled merging behavior (#11745)

* Merge disable with disabled. Adjust warnings, errors and tests.

* Replace any() with set operation.

* Update spacy/tests/pipeline/test_pipe_methods.py

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>

* Update docs.

* Remve reference to config entry nlp.enabled from docs.

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com> 
spacy/language.py