From: Simon Marshall Date: Thu, 2 Mar 1995 11:19:36 +0000 (+0000) Subject: Use font-lock-maximum-decoration when setting f90-font-lock-keywords. X-Git-Tag: emacs-19.34~4976 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=47d310b8e8a8475af9b8035f6da8de1d34ab89f2;p=emacs.git Use font-lock-maximum-decoration when setting f90-font-lock-keywords. --- diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el index adf1b9cc1fb..001571ff641 100644 --- a/lisp/progmodes/f90.el +++ b/lisp/progmodes/f90.el @@ -314,7 +314,9 @@ This does fairly subdued highlighting of comments and function names.") "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