1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-12 14:30:42 -08:00

(find_field): Use EQ, not ==, to compare lisp objects.

This commit is contained in:
Ken Raeburn 2000-08-08 14:38:09 +00:00
parent 84b8719889
commit cba7d658d8

View 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);