diff options
author | Simon Marshall <simon@gnu.org> | 1995-03-02 11:10:55 +0000 |
---|---|---|
committer | Simon Marshall <simon@gnu.org> | 1995-03-02 11:10:55 +0000 |
commit | 352e62b7752a5f676a7d0ac09e3ef24dfd9322f5 (patch) | |
tree | ab1376ee51eb23fb0415f78a9514fb064601fefe /lisp/ada.el | |
parent | c1a644d3ea4f398209ef7b57e9797b5c961c86c8 (diff) | |
download | emacs-352e62b7752a5f676a7d0ac09e3ef24dfd9322f5.tar.gz |
Use font-lock-maximum-decoration to set ada-font-lock-keywords.
Diffstat (limited to 'lisp/ada.el')
-rw-r--r-- | lisp/ada.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ada.el b/lisp/ada.el index bae849bbbd1..bf7633bf82d 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 |