aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2004-10-13 16:58:45 +0000
committerStefan Monnier2004-10-13 16:58:45 +0000
commit98ebf86079d11bc7e6c4345f407f228300a94c82 (patch)
tree1b8fcc4633f79c1c2de395206ef03010b2700e9c
parente375517fdad3f03d36249207b447fa35588dd966 (diff)
downloademacs-98ebf86079d11bc7e6c4345f407f228300a94c82.tar.gz
emacs-98ebf86079d11bc7e6c4345f407f228300a94c82.zip
(syms_of_textprop): Add `syntax-table' to the nonsticky props.
-rw-r--r--src/textprop.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/textprop.c b/src/textprop.c
index c8ec008dcbd..317f8fa6aa3 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -1,5 +1,5 @@
1/* Interface code for dealing with text properties. 1/* Interface code for dealing with text properties.
2 Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2002, 2003 2 Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2002, 2003, 2004
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
@@ -2233,7 +2233,9 @@ If a character in a buffer has PROPERTY, new text inserted adjacent to
2233the character doesn't inherit PROPERTY if NONSTICKINESS is non-nil, 2233the character doesn't inherit PROPERTY if NONSTICKINESS is non-nil,
2234inherits it if NONSTICKINESS is nil. The front-sticky and 2234inherits it if NONSTICKINESS is nil. The front-sticky and
2235rear-nonsticky properties of the character overrides NONSTICKINESS. */); 2235rear-nonsticky properties of the character overrides NONSTICKINESS. */);
2236 Vtext_property_default_nonsticky = Qnil; 2236 /* Text property `syntax-table' should be nonsticky by default. */
2237 Vtext_property_default_nonsticky
2238 = Fcons (Fcons (intern ("syntax-table"), Qt), Qnil);
2237 2239
2238 staticpro (&interval_insert_behind_hooks); 2240 staticpro (&interval_insert_behind_hooks);
2239 staticpro (&interval_insert_in_front_hooks); 2241 staticpro (&interval_insert_in_front_hooks);