diff options
| author | Glenn Morris | 2014-01-29 23:42:57 -0800 |
|---|---|---|
| committer | Glenn Morris | 2014-01-29 23:42:57 -0800 |
| commit | ad78f432005af4100fb6be5bb015393f77e1fdfe (patch) | |
| tree | 130b82cbd60a1bdb1da49a13b019424bb5fb3478 | |
| parent | 566cb04bdfcf5177c9069120e628d5067086783f (diff) | |
| download | emacs-ad78f432005af4100fb6be5bb015393f77e1fdfe.tar.gz emacs-ad78f432005af4100fb6be5bb015393f77e1fdfe.zip | |
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.
| -rw-r--r-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/emacs-lisp/eldoc.el | 6 | ||||
| -rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 4 | ||||
| -rw-r--r-- | lisp/hexl.el | 5 | ||||
| -rw-r--r-- | lisp/ielm.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/cfengine.el | 6 |
6 files changed, 20 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ad3c5d71aed..1e11782d110 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2014-01-30 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * hexl.el (hexl-mode-hook): | ||
| 4 | * ielm.el (ielm-mode-hook): | ||
| 5 | * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook) | ||
| 6 | (lisp-interaction-mode-hook): | ||
| 7 | * progmodes/cfengine.e (cfengine3-documentation-function): | ||
| 8 | Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'. | ||
| 9 | |||
| 1 | 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca> | 10 | 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 11 | ||
| 3 | * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic' | 12 | * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic' |
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el index 51a4f5491b1..28e80d0e2b4 100644 --- a/lisp/emacs-lisp/eldoc.el +++ b/lisp/emacs-lisp/eldoc.el | |||
| @@ -36,9 +36,9 @@ | |||
| 36 | ;; One useful way to enable this minor mode is to put the following in your | 36 | ;; One useful way to enable this minor mode is to put the following in your |
| 37 | ;; .emacs: | 37 | ;; .emacs: |
| 38 | ;; | 38 | ;; |
| 39 | ;; (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode) | 39 | ;; (add-hook 'emacs-lisp-mode-hook 'eldoc-mode) |
| 40 | ;; (add-hook 'lisp-interaction-mode-hook 'turn-on-eldoc-mode) | 40 | ;; (add-hook 'lisp-interaction-mode-hook 'eldoc-mode) |
| 41 | ;; (add-hook 'ielm-mode-hook 'turn-on-eldoc-mode) | 41 | ;; (add-hook 'ielm-mode-hook 'eldoc-mode) |
| 42 | 42 | ||
| 43 | ;; Major modes for other languages may use ElDoc by defining an | 43 | ;; Major modes for other languages may use ElDoc by defining an |
| 44 | ;; appropriate function as the buffer-local value of | 44 | ;; appropriate function as the buffer-local value of |
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 472ce804409..db15aea7a20 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el | |||
| @@ -681,7 +681,7 @@ All commands in `lisp-mode-shared-map' are inherited by this map.") | |||
| 681 | 681 | ||
| 682 | (defcustom emacs-lisp-mode-hook nil | 682 | (defcustom emacs-lisp-mode-hook nil |
| 683 | "Hook run when entering Emacs Lisp mode." | 683 | "Hook run when entering Emacs Lisp mode." |
| 684 | :options '(turn-on-eldoc-mode imenu-add-menubar-index checkdoc-minor-mode) | 684 | :options '(eldoc-mode imenu-add-menubar-index checkdoc-minor-mode) |
| 685 | :type 'hook | 685 | :type 'hook |
| 686 | :group 'lisp) | 686 | :group 'lisp) |
| 687 | 687 | ||
| @@ -693,7 +693,7 @@ All commands in `lisp-mode-shared-map' are inherited by this map.") | |||
| 693 | 693 | ||
| 694 | (defcustom lisp-interaction-mode-hook nil | 694 | (defcustom lisp-interaction-mode-hook nil |
| 695 | "Hook run when entering Lisp Interaction mode." | 695 | "Hook run when entering Lisp Interaction mode." |
| 696 | :options '(turn-on-eldoc-mode) | 696 | :options '(eldoc-mode) |
| 697 | :type 'hook | 697 | :type 'hook |
| 698 | :group 'lisp) | 698 | :group 'lisp) |
| 699 | 699 | ||
diff --git a/lisp/hexl.el b/lisp/hexl.el index e4e16225f18..dc63028b42b 100644 --- a/lisp/hexl.el +++ b/lisp/hexl.el | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | ;;; hexl.el --- edit a file in a hex dump format using the hexl filter -*- lexical-binding: t -*- | 1 | ;;; hexl.el --- edit a file in a hex dump format using the hexl filter -*- lexical-binding: t -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1989, 1994, 1998, 2001-2014 Free Software Foundation, | 3 | ;; Copyright (C) 1989, 1994, 1998, 2001-2014 Free Software Foundation, Inc. |
| 4 | ;; Inc. | ||
| 5 | 4 | ||
| 6 | ;; Author: Keith Gabryelski <ag@wheaties.ai.mit.edu> | 5 | ;; Author: Keith Gabryelski <ag@wheaties.ai.mit.edu> |
| 7 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
| @@ -91,7 +90,7 @@ as that will override any bit grouping options set here." | |||
| 91 | (defcustom hexl-mode-hook '(hexl-follow-line hexl-activate-ruler) | 90 | (defcustom hexl-mode-hook '(hexl-follow-line hexl-activate-ruler) |
| 92 | "Normal hook run when entering Hexl mode." | 91 | "Normal hook run when entering Hexl mode." |
| 93 | :type 'hook | 92 | :type 'hook |
| 94 | :options '(hexl-follow-line hexl-activate-ruler turn-on-eldoc-mode) | 93 | :options '(hexl-follow-line hexl-activate-ruler eldoc-mode) |
| 95 | :group 'hexl) | 94 | :group 'hexl) |
| 96 | 95 | ||
| 97 | (defface hexl-address-region | 96 | (defface hexl-address-region |
diff --git a/lisp/ielm.el b/lisp/ielm.el index c53f9e76d4e..fdf5fc6e53d 100644 --- a/lisp/ielm.el +++ b/lisp/ielm.el | |||
| @@ -118,7 +118,7 @@ such as `edebug-defun' to work with such inputs." | |||
| 118 | 118 | ||
| 119 | (defcustom ielm-mode-hook nil | 119 | (defcustom ielm-mode-hook nil |
| 120 | "Hooks to be run when IELM (`inferior-emacs-lisp-mode') is started." | 120 | "Hooks to be run when IELM (`inferior-emacs-lisp-mode') is started." |
| 121 | :options '(turn-on-eldoc-mode) | 121 | :options '(eldoc-mode) |
| 122 | :type 'hook | 122 | :type 'hook |
| 123 | :group 'ielm) | 123 | :group 'ielm) |
| 124 | (defvaralias 'inferior-emacs-lisp-mode-hook 'ielm-mode-hook) | 124 | (defvaralias 'inferior-emacs-lisp-mode-hook 'ielm-mode-hook) |
diff --git a/lisp/progmodes/cfengine.el b/lisp/progmodes/cfengine.el index 1ba7a53dfa0..7d4f6dc25b9 100644 --- a/lisp/progmodes/cfengine.el +++ b/lisp/progmodes/cfengine.el | |||
| @@ -47,7 +47,7 @@ | |||
| 47 | 47 | ||
| 48 | ;; It's *highly* recommended that you enable the eldoc minor mode: | 48 | ;; It's *highly* recommended that you enable the eldoc minor mode: |
| 49 | 49 | ||
| 50 | ;; (add-hook 'cfengine3-mode-hook 'turn-on-eldoc-mode) | 50 | ;; (add-hook 'cfengine3-mode-hook 'eldoc-mode) |
| 51 | 51 | ||
| 52 | ;; This is not the same as the mode written by Rolf Ebert | 52 | ;; This is not the same as the mode written by Rolf Ebert |
| 53 | ;; <ebert@waporo.muc.de>, distributed with cfengine-2.0.5. It does | 53 | ;; <ebert@waporo.muc.de>, distributed with cfengine-2.0.5. It does |
| @@ -1257,8 +1257,8 @@ Calls `cfengine-cf-promises' with \"-s json\"" | |||
| 1257 | 1257 | ||
| 1258 | (defun cfengine3-documentation-function () | 1258 | (defun cfengine3-documentation-function () |
| 1259 | "Document CFengine 3 functions around point. | 1259 | "Document CFengine 3 functions around point. |
| 1260 | Intended as the value of `eldoc-documentation-function', which | 1260 | Intended as the value of `eldoc-documentation-function', which see. |
| 1261 | see. Use it by executing `turn-on-eldoc-mode'." | 1261 | Use it by enabling `eldoc-mode'." |
| 1262 | (let ((fdef (cfengine3--current-function))) | 1262 | (let ((fdef (cfengine3--current-function))) |
| 1263 | (when fdef | 1263 | (when fdef |
| 1264 | (cfengine3-format-function-docstring fdef)))) | 1264 | (cfengine3-format-function-docstring fdef)))) |