changeset 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 b164e61ffff0
children 54e0d414b1de
files lisp/progmodes/fortran.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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