]> git.eshelyaron.com Git - emacs.git/commitdiff
(find_field): Use EQ, not ==, to compare lisp objects.
authorKen Raeburn <raeburn@raeburn.org>
Tue, 8 Aug 2000 14:38:09 +0000 (14:38 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Tue, 8 Aug 2000 14:38:09 +0000 (14:38 +0000)
src/editfns.c

index ae6befd5a7f4d9e5a2ba989e42bb9b7af8595a3f..d3fa9c54f4763bf0f1f3886d8423c7c0bfc60dd7 100644 (file)
@@ -440,7 +440,7 @@ find_field (pos, merge_at_boundary, beg, end)
     else
       /* Find the previous field boundary.  */
       {
-       if (!NILP (merge_at_boundary) && before_field == Qboundary)
+       if (!NILP (merge_at_boundary) && EQ (before_field, Qboundary))
          /* Skip a `boundary' field.  */
          pos = Fprevious_single_char_property_change (pos, Qfield, Qnil,Qnil);
 
@@ -456,7 +456,7 @@ find_field (pos, merge_at_boundary, beg, end)
     else
       /* Find the next field boundary.  */
       {
-       if (!NILP (merge_at_boundary) && after_field == Qboundary)
+       if (!NILP (merge_at_boundary) && EQ (after_field, Qboundary))
          /* Skip a `boundary' field.  */
          pos = Fnext_single_char_property_change (pos, Qfield, Qnil, Qnil);