aboutsummaryrefslogtreecommitdiffstats
path: root/src/xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml.c')
-rw-r--r--src/xml.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xml.c b/src/xml.c
index 600dcd11616..55352baae3a 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -128,13 +128,13 @@ parse_region (Lisp_Object start, Lisp_Object end, Lisp_Object base_url, int html
128 Lisp_Object r = Qnil; 128 Lisp_Object r = Qnil;
129 129
130 while (n) { 130 while (n) {
131 if (r != Qnil) 131 if (!NILP (r))
132 result = Fcons (r, result); 132 result = Fcons (r, result);
133 r = make_dom (n); 133 r = make_dom (n);
134 n = n->next; 134 n = n->next;
135 } 135 }
136 136
137 if (result == Qnil) 137 if (NILP (result))
138 result = r; 138 result = r;
139 else 139 else
140 result = Fcons (intern ("top"), 140 result = Fcons (intern ("top"),