correct tab errors caused by emacs on non-development platform