From c3b7828887809e4a7cfa71bdefd7c7eb257bfda0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pavel=20Jan=C3=ADk?= Date: Tue, 8 Jan 2002 21:43:42 +0000 Subject: [PATCH] (ada-initialize-properties, ada-mode): Do not use make-local-hook. --- lisp/progmodes/ada-mode.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el index 7707e50ea3b..fd938652450 100644 --- a/lisp/progmodes/ada-mode.el +++ b/lisp/progmodes/ada-mode.el @@ -7,7 +7,7 @@ ;; Markus Heritsch ;; Emmanuel Briot ;; Maintainer: Emmanuel Briot -;; 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 @@ as numbers instead of gnatprep comments." ;; 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 @@ If you use ada-xref.el: (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 -- 2.39.5