get-revision now chooses correct major-mode (normal-mode)