]> git.eshelyaron.com Git - emacs.git/commitdiff
Use font-lock-maximum-decoration to set ada-font-lock-keywords.
authorSimon Marshall <simon@gnu.org>
Thu, 2 Mar 1995 11:10:55 +0000 (11:10 +0000)
committerSimon Marshall <simon@gnu.org>
Thu, 2 Mar 1995 11:10:55 +0000 (11:10 +0000)
lisp/ada.el

index bae849bbbd101508dbf0022d954338a7899140a0..bf7633bf82d47777f2416ba42c5393b31e951d5b 100644 (file)
@@ -140,7 +140,9 @@ This does fairly subdued highlighting.")
   "For consideration as a value of `ada-font-lock-keywords'.
 This does a lot more highlighting.")
 
-(defvar ada-font-lock-keywords ada-font-lock-keywords-1
+(defvar ada-font-lock-keywords (if font-lock-maximum-decoration
+                                  ada-font-lock-keywords-2
+                                ada-font-lock-keywords-1)
   "Additional expressions to highlight in Ada mode.")
 
 (defvar ada-mode-map nil