From: Pavel Janík Date: Tue, 8 Jan 2002 21:43:42 +0000 (+0000) Subject: (ada-initialize-properties, ada-mode): Do not use make-local-hook. X-Git-Tag: ttn-vms-21-2-B4~17249 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c3b7828887809e4a7cfa71bdefd7c7eb257bfda0;p=emacs.git (ada-initialize-properties, ada-mode): Do not use make-local-hook. --- 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