Move an AC_SUBST to avoid an Emacs warning
Recent versions of Emacs seem to have a not so strict check for local
buffer variables and thus detect our emacs_local_vars subs as improper
local variables. Moving them more to the top of the file helps.
Another solution would have been to use m4 tricks.