# HG changeset patch # User Stefan Monnier # Date 1097686725 0 # Node ID c4f6faab46b05bce2cb899ee0b0593bd07630400 # Parent 6205fd61e464f777b9c0802fcc6e76ca0e079e39 (syms_of_textprop): Add `syntax-table' to the nonsticky props. diff -r 6205fd61e464 -r c4f6faab46b0 src/textprop.c --- a/src/textprop.c Wed Oct 13 16:32:42 2004 +0000 +++ b/src/textprop.c Wed Oct 13 16:58:45 2004 +0000 @@ -1,5 +1,5 @@ /* Interface code for dealing with text properties. - Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2002, 2003 + Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -2233,7 +2233,9 @@ the character doesn't inherit PROPERTY if NONSTICKINESS is non-nil, inherits it if NONSTICKINESS is nil. The front-sticky and rear-nonsticky properties of the character overrides NONSTICKINESS. */); - Vtext_property_default_nonsticky = Qnil; + /* Text property `syntax-table' should be nonsticky by default. */ + Vtext_property_default_nonsticky + = Fcons (Fcons (intern ("syntax-table"), Qt), Qnil); staticpro (&interval_insert_behind_hooks); staticpro (&interval_insert_in_front_hooks);