emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 c2e9e3d: * lisp/progmodes/fortran.el (fortran-mak


From: Glenn Morris
Subject: [Emacs-diffs] emacs-25 c2e9e3d: * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
Date: Sat, 02 Jan 2016 18:16:17 +0000

branch: emacs-25
commit c2e9e3dd33810b3a0e1dff1374c1112eaed351c5
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
    
    Explicitly ignore case.  (Bug#22262)
---
 lisp/progmodes/fortran.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el
index 82e81b2..bd08d3f 100644
--- a/lisp/progmodes/fortran.el
+++ b/lisp/progmodes/fortran.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]