Rebind M-x related functions