autopair-global-mode will respect autopair-dont-activate when set in a
major-mode hook