Rewrote (add-auto-indentation) to take arguments instead of using globals