1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00

run-mode-hooks instead of run-hooks

This commit is contained in:
Daniel Pfeiffer 2004-11-12 23:47:30 +00:00
parent 68d1b30d25
commit a3c328ee89

View 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