]> git.eshelyaron.com Git - emacs.git/commitdiff
run-mode-hooks instead of run-hooks
authorDaniel Pfeiffer <occitan@esperanto.org>
Fri, 12 Nov 2004 23:47:30 +0000 (23:47 +0000)
committerDaniel Pfeiffer <occitan@esperanto.org>
Fri, 12 Nov 2004 23:47:30 +0000 (23:47 +0000)
lisp/progmodes/cperl-mode.el

index 38cc167d942e0b264e12a97ae2827b0809f39cd0..24a185927927812bd92dc8063d1d942a1abe646a 100644 (file)
@@ -1544,7 +1544,7 @@ or as help on variables `cperl-tips', `cperl-problems',
        (cperl-msb-fix))
   (if (featurep 'easymenu)
       (easy-menu-add cperl-menu))      ; A NOP in Emacs.
-  (run-hooks 'cperl-mode-hook)
+  (run-mode-hooks 'cperl-mode-hook)
   ;; After hooks since fontification will break this
   (if cperl-pod-here-scan
       (or cperl-syntaxify-by-font-lock