aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2016-01-02 10:16:03 -0800
committerGlenn Morris2016-01-02 10:16:03 -0800
commitc2e9e3dd33810b3a0e1dff1374c1112eaed351c5 (patch)
tree8cb25eb49cfc6813c2ce56cb797e3c43474f282d
parent8637f3d0fa8d2f7325313abd66edb072b1a69db7 (diff)
downloademacs-c2e9e3dd33810b3a0e1dff1374c1112eaed351c5.tar.gz
emacs-c2e9e3dd33810b3a0e1dff1374c1112eaed351c5.zip
* lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
Explicitly ignore case. (Bug#22262)
-rw-r--r--lisp/progmodes/fortran.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el
index 82e81b23f50..bd08d3fd16d 100644
--- a/lisp/progmodes/fortran.el
+++ b/lisp/progmodes/fortran.el
@@ -496,12 +496,12 @@ This is used to fontify fixed-format Fortran comments."
496 ;; worth the trouble (about 0.5% of slow down). 496 ;; worth the trouble (about 0.5% of slow down).
497 (eval ;I hate `eval', but it's hard to avoid it here. 497 (eval ;I hate `eval', but it's hard to avoid it here.
498 `(syntax-propertize-rules 498 `(syntax-propertize-rules
499 ("^[cd\\*]" (0 "<")) 499 ("^[CcDd\\*]" (0 "<"))
500 ;; We mark all chars after line-length as "comment-start", rather than 500 ;; We mark all chars after line-length as "comment-start", rather than
501 ;; just the first one. This is so that a closing ' that's past the 501 ;; just the first one. This is so that a closing ' that's past the
502 ;; line-length will indeed be ignored (and will result in a string that 502 ;; line-length will indeed be ignored (and will result in a string that
503 ;; leaks into subsequent lines). 503 ;; leaks into subsequent lines).
504 ((format "^[^cd\\*\t\n].\\{%d\\}\\(.+\\)" (1- line-length)) 504 ((format "^[^CcDd\\*\t\n].\\{%d\\}\\(.+\\)" (1- line-length))
505 (1 "<"))))) 505 (1 "<")))))
506 506
507(defvar fortran-font-lock-keywords fortran-font-lock-keywords-1 507(defvar fortran-font-lock-keywords fortran-font-lock-keywords-1