`turn-on-eldoc-mode' is an obsolete command (as of 24.4); use

`eldoc-mode' instead.
This commit is contained in:
Bin Huang 2015-01-21 21:25:38 +08:00
parent 2ca384b903
commit b2b83b4341

View file

@ -67,7 +67,7 @@ Start `ielm' if it's not already running."
(defun prelude-emacs-lisp-mode-defaults ()
"Sensible defaults for `emacs-lisp-mode'."
(run-hooks 'prelude-lisp-coding-hook)
(turn-on-eldoc-mode)
(eldoc-mode +1)
(prelude-recompile-elc-on-save)
(rainbow-mode +1)
(setq mode-name "EL")
@ -84,7 +84,7 @@ Start `ielm' if it's not already running."
(defun prelude-ielm-mode-defaults ()
"Sensible defaults for `ielm'."
(run-hooks 'prelude-interactive-lisp-coding-hook)
(turn-on-eldoc-mode))
(eldoc-mode +1))
(setq prelude-ielm-mode-hook 'prelude-ielm-mode-defaults)