Fix byte-compile warning

turn-on-eldoc-mode is obsoleted from Emacs 24.4.