]> git.eshelyaron.com Git - emacs.git/commitdiff
(fortran-font-lock-syntactic-keywords): Fix off-by-one error in
authorGlenn Morris <rgm@gnu.org>
Fri, 3 Aug 2007 03:19:36 +0000 (03:19 +0000)
committerGlenn Morris <rgm@gnu.org>
Fri, 3 Aug 2007 03:19:36 +0000 (03:19 +0000)
previous change.

lisp/progmodes/fortran.el

index 37db236c99f352ebef99a7a5ddb9af35cfb67eac..97f4c1c2616fc0d6e3d110cb6b8f03de9013fa72 100644 (file)
@@ -441,7 +441,7 @@ Consists of level 3 plus all other intrinsics not already highlighted.")
 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