aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/cfengine.el
diff options
context:
space:
mode:
authorGlenn Morris2014-01-29 23:42:57 -0800
committerGlenn Morris2014-01-29 23:42:57 -0800
commitad78f432005af4100fb6be5bb015393f77e1fdfe (patch)
tree130b82cbd60a1bdb1da49a13b019424bb5fb3478 /lisp/progmodes/cfengine.el
parent566cb04bdfcf5177c9069120e628d5067086783f (diff)
downloademacs-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.
Diffstat (limited to 'lisp/progmodes/cfengine.el')
-rw-r--r--lisp/progmodes/cfengine.el6
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 @@
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.
1260Intended as the value of `eldoc-documentation-function', which 1260Intended as the value of `eldoc-documentation-function', which see.
1261see. Use it by executing `turn-on-eldoc-mode'." 1261Use 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))))