Replace refs to obsolete alias turn-on-eldoc-mode' with
eldoc-mode'
* lisp/hexl.el (hexl-mode-hook): * lisp/ielm.el (ielm-mode-hook): * lisp/emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook) (lisp-interaction-mode-hook): * lisp/progmodes/cfengine.e (cfengine3-documentation-function): Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'. * lisp/emacs-lisp/eldoc.el: Same in commentary.
This commit is contained in:
parent
566cb04bdf
commit
ad78f43200
6 changed files with 20 additions and 12 deletions
|
@ -36,9 +36,9 @@
|
|||
;; One useful way to enable this minor mode is to put the following in your
|
||||
;; .emacs:
|
||||
;;
|
||||
;; (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode)
|
||||
;; (add-hook 'lisp-interaction-mode-hook 'turn-on-eldoc-mode)
|
||||
;; (add-hook 'ielm-mode-hook 'turn-on-eldoc-mode)
|
||||
;; (add-hook 'emacs-lisp-mode-hook 'eldoc-mode)
|
||||
;; (add-hook 'lisp-interaction-mode-hook 'eldoc-mode)
|
||||
;; (add-hook 'ielm-mode-hook 'eldoc-mode)
|
||||
|
||||
;; Major modes for other languages may use ElDoc by defining an
|
||||
;; appropriate function as the buffer-local value of
|
||||
|
|
|
@ -681,7 +681,7 @@ All commands in `lisp-mode-shared-map' are inherited by this map.")
|
|||
|
||||
(defcustom emacs-lisp-mode-hook nil
|
||||
"Hook run when entering Emacs Lisp mode."
|
||||
:options '(turn-on-eldoc-mode imenu-add-menubar-index checkdoc-minor-mode)
|
||||
:options '(eldoc-mode imenu-add-menubar-index checkdoc-minor-mode)
|
||||
:type 'hook
|
||||
:group 'lisp)
|
||||
|
||||
|
@ -693,7 +693,7 @@ All commands in `lisp-mode-shared-map' are inherited by this map.")
|
|||
|
||||
(defcustom lisp-interaction-mode-hook nil
|
||||
"Hook run when entering Lisp Interaction mode."
|
||||
:options '(turn-on-eldoc-mode)
|
||||
:options '(eldoc-mode)
|
||||
:type 'hook
|
||||
:group 'lisp)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue