Mercurial > emacs
diff lisp/progmodes/fortran.el @ 10883:526ba0811e2e
Use font-lock-maximum-decoration when setting fortran-font-lock-keywords.
author | Simon Marshall <simon@gnu.org> |
---|---|
date | Thu, 02 Mar 1995 11:20:30 +0000 |
parents | a5e881c047ce |
children | e7c26522b881 |
line wrap: on
line diff
--- a/lisp/progmodes/fortran.el Thu Mar 02 11:19:36 1995 +0000 +++ b/lisp/progmodes/fortran.el Thu Mar 02 11:20:30 1995 +0000 @@ -243,7 +243,9 @@ "For consideration as a value of `fortran-font-lock-keywords'. This does a lot more highlighting.") -(defconst fortran-font-lock-keywords fortran-font-lock-keywords-1 +(defvar fortran-font-lock-keywords (if font-lock-maximum-decoration + fortran-font-lock-keywords-2 + fortran-font-lock-keywords-1) "Additional expressions to highlight in Fortran mode.") (defvar fortran-mode-map ()