From 352e62b7752a5f676a7d0ac09e3ef24dfd9322f5 Mon Sep 17 00:00:00 2001 From: Simon Marshall Date: Thu, 2 Mar 1995 11:10:55 +0000 Subject: Use font-lock-maximum-decoration to set ada-font-lock-keywords. --- lisp/ada.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/ada.el b/lisp/ada.el index bae849bbbd..bf7633bf82 100644 --- a/lisp/ada.el +++ b/lisp/ada.el @@ -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 -- cgit v1.2.3