The ionic liquid [C4mpy][Tf2N] induces bound-like structure in the intrinsically disordered protein FlgM.