From: Ted Zlatanov Date: Fri, 13 Dec 2013 19:49:56 +0000 (-0500) Subject: progmodes/cfengine.el: Fix `add-hook' doc. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~425 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a5c1ac0ca19e6fbc8fe17f9b6b2bfed2050f8aae;p=emacs.git progmodes/cfengine.el: Fix `add-hook' doc. * progmodes/cfengine.el: Fix `add-hook' doc. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f5e0b7dbb18..ce088032faa 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,6 +1,7 @@ 2013-12-13 Teodor Zlatanov - * progmodes/cfengine.el (cfengine-mode-syntax-functions-regex): + * progmodes/cfengine.el: Fix `add-hook' doc. + (cfengine-mode-syntax-functions-regex): Initialize sensibly. (cfengine3--current-word): Fix parameters. (cfengine3-make-syntax-cache): Simplify further. diff --git a/lisp/progmodes/cfengine.el b/lisp/progmodes/cfengine.el index 20dfb9dc748..80256181187 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 'cfengine-mode-hook 'turn-on-eldoc-mode) +;; (add-hook 'cfengine3-mode-hook 'turn-on-eldoc-mode) ;; This is not the same as the mode written by Rolf Ebert ;; , distributed with cfengine-2.0.5. It does