annotate vpath.sed @ 72592:f6de516bbb4b

* buffer.h (struct buffer_text): New field chars_modiff. (CHARS_MODIFF, BUF_CHARS_MODIFF): New macros. * buffer.c (Fbuffer_chars_modified_tick): New function returning value of BUF_CHARS_MODIFF. (syms_of_buffer): Defsubr it. (Fget_buffer_create): Initialize BUF_CHARS_MODIFF. * insdel.c (modify_region): New argument preserve_chars_modiff. Set CHARS_MODIFF to MODIFF provided preserve_chars_modiff is zero. (insert_1_both, insert_from_string_1, insert_from_buffer_1) (adjust_after_replace, adjust_after_replace_noundo) (replace_range, replace_range_2, del_range_2): Reset CHARS_MODIFF. * lisp.h (modify_region): Add fourth argument in extern. * casefiddle.c (casify_region): Call modify_region with fourth argument zero to assert that CHARS_MODIFF is updated. * editfns.c (Fsubst_char_in_region, Ftranslate_region_internal) (Ftranspose_regions): Likewise. * textprop.c (Fadd_text_properties, Fset_text_properties) (Fremove_text_properties, Fremove_list_of_text_properties): Call modify_region with fourth argument 1 to avoid that CHARS_MODIFF is updated.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 01 Sep 2006 13:28:13 +0000
parents 695cf19ef79e
children 375f2633d815
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4703
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
1 /^VPATH *=/c\
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
2 # This works only in GNU make. Using the patterns avoids\
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
3 # object files being found by VPATH, and thus permits building\
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
4 # when $srcdir is configured itself.\
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
5 vpath %.c $(srcdir)\
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
6 vpath %.h $(srcdir)\
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
7 \
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 11834
diff changeset
8
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 11834
diff changeset
9 # arch-tag: 56a64b50-e4e8-443a-960f-f13af0f1a545