5.97 Export Theme shortkey Ctrl M creates new Paragraphs

When I am on a P tag in PG 5,97 and press Ctrl-M then it exports the theme and also creates new P tags. I think that is wrong. Why is the shortcut key changed to Ctrl M instead of Ctrl W?