aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Marshall1995-03-02 11:07:44 +0000
committerSimon Marshall1995-03-02 11:07:44 +0000
commitc1a644d3ea4f398209ef7b57e9797b5c961c86c8 (patch)
tree9962da579e84fbec8d8855c78b7463589424ac86
parent799761f0c18a1a30109b013dcca08791d9ddfa84 (diff)
downloademacs-c1a644d3ea4f398209ef7b57e9797b5c961c86c8.tar.gz
emacs-c1a644d3ea4f398209ef7b57e9797b5c961c86c8.zip
Use font-lock-maximum-decoration when setting ada-font-lock-keywords
-rw-r--r--lisp/progmodes/ada-mode.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el
index 9a6f2d7816d..a421469f605 100644
--- a/lisp/progmodes/ada-mode.el
+++ b/lisp/progmodes/ada-mode.el
@@ -109,11 +109,11 @@
109;;; LCD Archive Entry: 109;;; LCD Archive Entry:
110;;; ada-mode|Rolf Ebert|<ebert@inf.enst.fr> 110;;; ada-mode|Rolf Ebert|<ebert@inf.enst.fr>
111;;; |Major-mode for Ada 111;;; |Major-mode for Ada
112;;; |$Date: 1995/02/09 00:01:34 $|$Revision: 1.1 $| 112;;; |$Date: 1995/02/09 00:17:31 $|$Revision: 1.2 $|
113 113
114 114
115(defconst ada-mode-version (substring "$Revision: 1.1 $" 11 -2) 115(defconst ada-mode-version (substring "$Revision: 1.2 $" 11 -2)
116 "$Id: ada-mode.el,v 1.1 1995/02/09 00:01:34 rms Exp rms $ 116 "$Id: ada-mode.el,v 1.2 1995/02/09 00:17:31 rms Exp simon $
117 117
118Report bugs to: Rolf Ebert <ebert@inf.enst.fr>") 118Report bugs to: Rolf Ebert <ebert@inf.enst.fr>")
119 119
@@ -3673,7 +3673,9 @@ This does fairly subdued highlighting.")
3673 "For consideration as a value of `ada-font-lock-keywords'. 3673 "For consideration as a value of `ada-font-lock-keywords'.
3674This does a lot more highlighting.") 3674This does a lot more highlighting.")
3675 3675
3676(defvar ada-font-lock-keywords ada-font-lock-keywords-2 3676(defvar ada-font-lock-keywords (if font-lock-maximum-decoration
3677 ada-font-lock-keywords-2
3678 ada-font-lock-keywords-1)
3677 "*Expressions to highlight in Ada mode.") 3679 "*Expressions to highlight in Ada mode.")
3678 3680
3679;;; 3681;;;