[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemacs-commit] qemacs html.c
From: |
Charlie Gordon |
Subject: |
[Qemacs-commit] qemacs html.c |
Date: |
Mon, 31 Aug 2015 08:51:18 +0000 |
CVSROOT: /sources/qemacs
Module name: qemacs
Changes by: Charlie Gordon <chqrlie> 15/08/31 08:51:18
Modified files:
. : html.c
Log message:
html: force refresh upon mode selection
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemacs/html.c?cvsroot=qemacs&r1=1.35&r2=1.36
Patches:
Index: html.c
===================================================================
RCS file: /sources/qemacs/qemacs/html.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -b -r1.35 -r1.36
--- html.c 27 Aug 2015 15:32:28 -0000 1.35
+++ html.c 31 Aug 2015 08:51:17 -0000 1.36
@@ -828,12 +828,14 @@
{
HTMLState *hs = qe_get_buffer_mode_data(b, &html_mode, NULL);
- if (flags & MODEF_NEWINSTANCE) {
if (!hs)
return -1;
+
+ if (flags & MODEF_NEWINSTANCE) {
return gxml_mode_init(b, XML_HTML | XML_HTML_SYNTAX | XML_IGNORE_CASE,
html_style);
}
+ hs->up_to_date = 0;
return 0;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemacs-commit] qemacs html.c,
Charlie Gordon <=