qemacs-commit
[Top][All Lists]
Advanced

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

[Qemacs-commit] qemacs xml.c htmlsrc.c


From: Charlie Gordon
Subject: [Qemacs-commit] qemacs xml.c htmlsrc.c
Date: Sun, 01 Jun 2014 12:09:14 +0000

CVSROOT:        /sources/qemacs
Module name:    qemacs
Changes by:     Charlie Gordon <chqrlie>        14/06/01 12:09:14

Modified files:
        .              : xml.c htmlsrc.c 

Log message:
        favor html-src mode over xml colorizer

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/xml.c?cvsroot=qemacs&r1=1.23&r2=1.24
http://cvs.savannah.gnu.org/viewcvs/qemacs/htmlsrc.c?cvsroot=qemacs&r1=1.21&r2=1.22

Patches:
Index: xml.c
===================================================================
RCS file: /sources/qemacs/qemacs/xml.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- xml.c       30 May 2014 17:18:15 -0000      1.23
+++ xml.c       1 Jun 2014 12:09:12 -0000       1.24
@@ -188,7 +188,8 @@
     p++;
     if (*p != '!' && *p != '?' && !qe_isalpha(*p))
         return 0;
-    return 80; /* leave some room for more specific XML parser */
+
+    return 60; /* leave some room for more specific XML parser */
 }
 
 ModeDef xml_mode = {

Index: htmlsrc.c
===================================================================
RCS file: /sources/qemacs/qemacs/htmlsrc.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- htmlsrc.c   30 May 2014 17:18:14 -0000      1.21
+++ htmlsrc.c   1 Jun 2014 12:09:13 -0000       1.22
@@ -417,7 +417,7 @@
 
 ModeDef htmlsrc_mode = {
     .name = "html-src",
-    .extensions = "html|htm|asp|aspx|shtml|hta|htp|phtml|php",
+    .extensions = "html|htm|asp|aspx|shtml|hta|htp|phtml|php|xml",
     .mode_probe = htmlsrc_mode_probe,
     .colorize_func = htmlsrc_colorize_line,
 };



reply via email to

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