outline-hook-function refactored and added to outline-minor-mode-hook instead
of emacs-lisp-mode-hook.