aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/ada-mode.el
diff options
context:
space:
mode:
authorPavel Janík <[email protected]>2002-01-08 21:43:42 +0000
committerPavel Janík <[email protected]>2002-01-08 21:43:42 +0000
commitc3b7828887809e4a7cfa71bdefd7c7eb257bfda0 (patch)
treee63ad7a5127e5cf6ddfa7b438a72822f5570e84a /lisp/progmodes/ada-mode.el
parent2fbeec98ec4237ed20e208716e8147222175b56d (diff)
(ada-initialize-properties, ada-mode): Do not use make-local-hook.
Diffstat (limited to 'lisp/progmodes/ada-mode.el')
-rw-r--r--lisp/progmodes/ada-mode.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el
index 7707e50ea3..fd93865245 100644
--- a/lisp/progmodes/ada-mode.el
+++ b/lisp/progmodes/ada-mode.el
@@ -7,7 +7,7 @@
;; Markus Heritsch <[email protected]>
;; Emmanuel Briot <[email protected]>
;; Maintainer: Emmanuel Briot <[email protected]>
-;; 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