# HG changeset patch # User Glenn Morris # Date 1186111176 0 # Node ID ea6a4238388e94282576f8664627e9bd715fce77 # Parent b164e61ffff07cc6f32436f0268c96622ac2d5ba (fortran-font-lock-syntactic-keywords): Fix off-by-one error in previous change. diff -r b164e61ffff0 -r ea6a4238388e lisp/progmodes/fortran.el --- 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