[editing] Don't crash if auto-complete-mode doesn't exist