changeset 77103:5e661f4001f4

(cperl-mode): Remove unnecessary call to obsolete function make-local-hook.
author Glenn Morris <rgm@gnu.org>
date Tue, 10 Apr 2007 04:03:08 +0000
parents b46d7e89bc7b
children 3b47ef075a15
files lisp/progmodes/cperl-mode.el
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cperl-mode.el	Tue Apr 10 04:02:45 2007 +0000
+++ b/lisp/progmodes/cperl-mode.el	Tue Apr 10 04:03:08 2007 +0000
@@ -1871,9 +1871,7 @@
       (easy-menu-add cperl-menu))	; A NOP in Emacs.
   (run-mode-hooks 'cperl-mode-hook)
   (if cperl-hook-after-change
-      (progn
-	(make-local-hook 'after-change-functions)
-	(add-hook 'after-change-functions 'cperl-after-change-function nil t)))
+      (add-hook 'after-change-functions 'cperl-after-change-function nil t))
   ;; After hooks since fontification will break this
   (if cperl-pod-here-scan
       (or cperl-syntaxify-by-font-lock