diff options
author | Glenn Morris <rgm@gnu.org> | 2014-01-29 23:42:57 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2014-01-29 23:42:57 -0800 |
commit | ad78f432005af4100fb6be5bb015393f77e1fdfe (patch) | |
tree | 130b82cbd60a1bdb1da49a13b019424bb5fb3478 /lisp/progmodes/cfengine.el | |
parent | 566cb04bdfcf5177c9069120e628d5067086783f (diff) | |
download | emacs-ad78f432005af4100fb6be5bb015393f77e1fdfe.tar.gz |
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.
Diffstat (limited to 'lisp/progmodes/cfengine.el')
-rw-r--r-- | lisp/progmodes/cfengine.el | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ ;; It's *highly* recommended that you enable the eldoc minor mode: -;; (add-hook 'cfengine3-mode-hook 'turn-on-eldoc-mode) +;; (add-hook 'cfengine3-mode-hook 'eldoc-mode) ;; This is not the same as the mode written by Rolf Ebert ;; <ebert@waporo.muc.de>, distributed with cfengine-2.0.5. It does @@ -1257,8 +1257,8 @@ Calls `cfengine-cf-promises' with \"-s json\"" (defun cfengine3-documentation-function () "Document CFengine 3 functions around point. -Intended as the value of `eldoc-documentation-function', which -see. Use it by executing `turn-on-eldoc-mode'." +Intended as the value of `eldoc-documentation-function', which see. +Use it by enabling `eldoc-mode'." (let ((fdef (cfengine3--current-function))) (when fdef (cfengine3-format-function-docstring fdef)))) |