From b2b83b434158525a6b4b3b5a916a5a9e1abce89b Mon Sep 17 00:00:00 2001 From: Bin Huang Date: Wed, 21 Jan 2015 21:25:38 +0800 Subject: [PATCH] `turn-on-eldoc-mode' is an obsolete command (as of 24.4); use `eldoc-mode' instead. --- modules/prelude-emacs-lisp.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/prelude-emacs-lisp.el b/modules/prelude-emacs-lisp.el index 97ae541..b3809fa 100644 --- a/modules/prelude-emacs-lisp.el +++ b/modules/prelude-emacs-lisp.el @@ -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)