emacs: Place provide form at end of file

Any errors in the code after "provide" will leave the feature registered, so it should always be at the end.