Mercurial > emacs
diff lisp/progmodes/fortran.el @ 82242:ea6a4238388e
(fortran-font-lock-syntactic-keywords): Fix off-by-one error in
previous change.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 03 Aug 2007 03:19:36 +0000 |
parents | 4c62a0c74ff3 |
children | e5a68f18fcb9 35e3789db058 |
line wrap: on
line diff
--- a/lisp/progmodes/fortran.el Fri Aug 03 03:15:33 2007 +0000 +++ b/lisp/progmodes/fortran.el Fri Aug 03 03:19:36 2007 +0000 @@ -441,7 +441,7 @@ This varies according to the value of `fortran-line-length'. This is used to fontify fixed-format Fortran comments." `(("^[cd\\*]" 0 (11)) - (,(format "^[^cd\\*\t\n].\\{%d\\}\\([^\n]+\\)" fortran-line-length) + (,(format "^[^cd\\*\t\n].\\{%d\\}\\([^\n]+\\)" (1- fortran-line-length)) 1 (11)))) (defvar fortran-font-lock-keywords fortran-font-lock-keywords-1