Mercurial > emacs
changeset 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 | bb8df7aad5ef |
children | aee68b0d23e1 |
files | lisp/progmodes/fortran.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
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 ()