It's only true for the original EOS M, the first 'M' series camera from Canon, which has magic lantern support.
Not for the EOS M10, since it runs Powershot firmware, as Walter pointed out.
Seems that there is however CHDK support for the EOS M10.
https://chdk.fandom.com/wiki/CHDKOnly available under 'unstable new development version 1.5.0:
http://mighty-hoernsche.de/trunk/Camera is listed as 'Powershot M10'
Never used CHDK, don't know if it's safe for your camera and if it ads much new features to the M10
