changeset 42619:223ee9fdf077

(ada-initialize-properties, ada-mode): Do not use make-local-hook.
author Pavel Janík <Pavel@Janik.cz>
date Tue, 08 Jan 2002 21:43:42 +0000
parents e083ef90fdaf
children 1ffbb8352c1c
files lisp/progmodes/ada-mode.el
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/ada-mode.el	Tue Jan 08 21:42:19 2002 +0000
+++ b/lisp/progmodes/ada-mode.el	Tue Jan 08 21:43:42 2002 +0000
@@ -7,7 +7,7 @@
 ;;      Markus Heritsch <Markus.Heritsch@studbox.uni-stuttgart.de>
 ;;      Emmanuel Briot  <briot@gnat.com>
 ;; Maintainer: Emmanuel Briot <briot@gnat.com>
-;; Ada Core Technologies's version:   $Revision: 1.46 $
+;; Ada Core Technologies's version:   $Revision: 1.47 $
 ;; Keywords: languages ada
 
 ;; This file is part of GNU Emacs.
@@ -814,7 +814,6 @@
       ;;  Setting this only if font-lock is not set won't work
       ;;  if the user activates or deactivates font-lock-mode,
       ;;  but will make things faster most of the time
-      (make-local-hook 'after-change-functions)
       (add-hook 'after-change-functions 'ada-after-change-function nil t)
       )))
 
@@ -1177,7 +1176,6 @@
 
   (unless ada-xemacs
     (ada-initialize-properties)
-    (make-local-hook 'font-lock-mode-hook)
     (add-hook 'font-lock-mode-hook 'ada-deactivate-properties nil t))
 
   ;; the following has to be done after running the ada-mode-hook