change a condition for global-auto-complete-mode