diff options
| -rw-r--r-- | lisp/progmodes/ada-mode.el | 4 |
1 files changed, 1 insertions, 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 @@ | |||
| 7 | ;; Markus Heritsch <Markus.Heritsch@studbox.uni-stuttgart.de> | 7 | ;; Markus Heritsch <Markus.Heritsch@studbox.uni-stuttgart.de> |
| 8 | ;; Emmanuel Briot <briot@gnat.com> | 8 | ;; Emmanuel Briot <briot@gnat.com> |
| 9 | ;; Maintainer: Emmanuel Briot <briot@gnat.com> | 9 | ;; Maintainer: Emmanuel Briot <briot@gnat.com> |
| 10 | ;; Ada Core Technologies's version: $Revision: 1.46 $ | 10 | ;; Ada Core Technologies's version: $Revision: 1.47 $ |
| 11 | ;; Keywords: languages ada | 11 | ;; Keywords: languages ada |
| 12 | 12 | ||
| 13 | ;; This file is part of GNU Emacs. | 13 | ;; This file is part of GNU Emacs. |
| @@ -814,7 +814,6 @@ as numbers instead of gnatprep comments." | |||
| 814 | ;; Setting this only if font-lock is not set won't work | 814 | ;; Setting this only if font-lock is not set won't work |
| 815 | ;; if the user activates or deactivates font-lock-mode, | 815 | ;; if the user activates or deactivates font-lock-mode, |
| 816 | ;; but will make things faster most of the time | 816 | ;; but will make things faster most of the time |
| 817 | (make-local-hook 'after-change-functions) | ||
| 818 | (add-hook 'after-change-functions 'ada-after-change-function nil t) | 817 | (add-hook 'after-change-functions 'ada-after-change-function nil t) |
| 819 | ))) | 818 | ))) |
| 820 | 819 | ||
| @@ -1177,7 +1176,6 @@ If you use ada-xref.el: | |||
| 1177 | 1176 | ||
| 1178 | (unless ada-xemacs | 1177 | (unless ada-xemacs |
| 1179 | (ada-initialize-properties) | 1178 | (ada-initialize-properties) |
| 1180 | (make-local-hook 'font-lock-mode-hook) | ||
| 1181 | (add-hook 'font-lock-mode-hook 'ada-deactivate-properties nil t)) | 1179 | (add-hook 'font-lock-mode-hook 'ada-deactivate-properties nil t)) |
| 1182 | 1180 | ||
| 1183 | ;; the following has to be done after running the ada-mode-hook | 1181 | ;; the following has to be done after running the ada-mode-hook |