diff options
| author | Simon Marshall | 1995-03-02 11:19:36 +0000 |
|---|---|---|
| committer | Simon Marshall | 1995-03-02 11:19:36 +0000 |
| commit | 47d310b8e8a8475af9b8035f6da8de1d34ab89f2 (patch) | |
| tree | 8c9ef011a73e09301a111349fc9948e7eef8a363 | |
| parent | 352e62b7752a5f676a7d0ac09e3ef24dfd9322f5 (diff) | |
| download | emacs-47d310b8e8a8475af9b8035f6da8de1d34ab89f2.tar.gz emacs-47d310b8e8a8475af9b8035f6da8de1d34ab89f2.zip | |
Use font-lock-maximum-decoration when setting f90-font-lock-keywords.
| -rw-r--r-- | lisp/progmodes/f90.el | 4 |
1 files changed, 3 insertions, 1 deletions
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.") | |||
| 314 | "For consideration as a value of `f90-font-lock-keywords'. | 314 | "For consideration as a value of `f90-font-lock-keywords'. |
| 315 | This highlights variable types, \"keywords,\" etc.") | 315 | This highlights variable types, \"keywords,\" etc.") |
| 316 | 316 | ||
| 317 | (defvar f90-font-lock-keywords f90-font-lock-keywords-2 | 317 | (defvar f90-font-lock-keywords (if font-lock-maximum-decoration |
| 318 | f90-font-lock-keywords-2 | ||
| 319 | f90-font-lock-keywords-1) | ||
| 318 | "*Additional expressions to highlight in F90 mode.") | 320 | "*Additional expressions to highlight in F90 mode.") |
| 319 | 321 | ||
| 320 | ;; hilit19 customization and expressions | 322 | ;; hilit19 customization and expressions |