changeset 10882:bb8df7aad5ef

Use font-lock-maximum-decoration when setting f90-font-lock-keywords.
author Simon Marshall <simon@gnu.org>
date Thu, 02 Mar 1995 11:19:36 +0000
parents 60d97d9b359d
children 526ba0811e2e
files lisp/progmodes/f90.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/f90.el	Thu Mar 02 11:10:55 1995 +0000
+++ b/lisp/progmodes/f90.el	Thu Mar 02 11:19:36 1995 +0000
@@ -314,7 +314,9 @@
   "For consideration as a value of `f90-font-lock-keywords'.
 This highlights variable types, \"keywords,\" etc.")
 
-(defvar f90-font-lock-keywords f90-font-lock-keywords-2
+(defvar f90-font-lock-keywords (if font-lock-maximum-decoration
+				   f90-font-lock-keywords-2
+				 f90-font-lock-keywords-1)
   "*Additional expressions to highlight in F90 mode.")
 
 ;; hilit19 customization and expressions