set emacs-lisp-mode-hook to nil for the index creation