]> code.delx.au - gnu-emacs/commitdiff
* lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
authorGlenn Morris <rgm@gnu.org>
Sat, 2 Jan 2016 18:16:03 +0000 (10:16 -0800)
committerGlenn Morris <rgm@gnu.org>
Sat, 2 Jan 2016 18:16:03 +0000 (10:16 -0800)
Explicitly ignore case.  (Bug#22262)

lisp/progmodes/fortran.el

index 82e81b23f50ffb60f936b12cbce2230d061ecd37..bd08d3fd16d2ff83d070234a44360f1ae166a220 100644 (file)
@@ -496,12 +496,12 @@ This is used to fontify fixed-format Fortran comments."
   ;; worth the trouble (about 0.5% of slow down).
   (eval                         ;I hate `eval', but it's hard to avoid it here.
    `(syntax-propertize-rules
-     ("^[cd\\*]" (0 "<"))
+     ("^[CcDd\\*]" (0 "<"))
      ;; We mark all chars after line-length as "comment-start", rather than
      ;; just the first one.  This is so that a closing ' that's past the
      ;; line-length will indeed be ignored (and will result in a string that
      ;; leaks into subsequent lines).
-     ((format "^[^cd\\*\t\n].\\{%d\\}\\(.+\\)" (1- line-length))
+     ((format "^[^CcDd\\*\t\n].\\{%d\\}\\(.+\\)" (1- line-length))
       (1 "<")))))
 
 (defvar fortran-font-lock-keywords fortran-font-lock-keywords-1