Merge pull request #793 from hbin/obsolete-command

`turn-on-eldoc-mode' is an obsolete command (as of 24.4)
This commit is contained in:
Bozhidar Batsov 2015-01-21 16:31:04 +02:00
commit 0cd1db61b4

View file

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