Mercurial > emacs
view oldXMenu/Imakefile @ 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 |
line wrap: on
line source
HEADERS = XMenu.h LINTLIBS = ../lib/X/llib-lX.ln INSTALLFLAGS = $(INSTINCFLAGS) RANLIB = ranlib -t SRCS = Activate.c \ AddPane.c \ AddSel.c \ ChgPane.c \ ChgSel.c \ Create.c \ DelPane.c \ DelSel.c \ Destroy.c \ Error.c \ EvHand.c \ FindPane.c \ FindSel.c \ InsPane.c \ InsSel.c \ Internal.c \ Locate.c \ Post.c \ Recomp.c \ SetAEQ.c \ SetFrz.c \ SetPane.c \ SetSel.c \ XCrAssoc.c \ XDelAssoc.c \ XDestAssoc.c \ XLookAssoc.c \ XMakeAssoc.c OBJS = Activate.o \ AddPane.o \ AddSel.o \ ChgPane.o \ ChgSel.o \ Create.o \ DelPane.o \ DelSel.o \ Destroy.o \ Error.o \ EvHand.o \ FindPane.o \ FindSel.o \ InsPane.o \ InsSel.o \ Internal.o \ Locate.o \ Post.o \ Recomp.o \ SetAEQ.o \ SetFrz.o \ SetPane.o \ SetSel.o \ XCrAssoc.o \ XDelAssoc.o \ XDestAssoc.o \ XLookAssoc.o \ XMakeAssoc.o #if DebugOldLibXMenu && ProfileOldLibXMenu DebuggedAndProfiledLibraryObjectRule() #else # if DebugOldLibXMenu DebuggedLibraryObjectRule() # else # if ProfileOldLibXMenu ProfiledLibraryObjectRule() # else NormalLibraryObjectRule() # endif # endif #endif NormalLibraryTarget(XMenu11,$(OBJS)) LintLibraryTarget(XMenu11,$(SRCS)) InstallLibrary(XMenu11,$(USRLIBDIR)) #if InstallLintLibs InstallLintLibrary(XMenu11,$(LINTLIBDIR)) #endif InstallMultiple($(HEADERS),$(INCDIR)) #if ProfileOldLibXMenu ProfiledLibraryTarget(XMenu11,$(OBJS)) InstallLibrary(XMenu11_p,$(USRLIBDIR)) #endif #if DebugOldLibXMenu DebuggedLibraryTarget(XMenu11,$(OBJS)) #endif DependTarget() NormalLintTarget($(SRCS)) /* arch-tag: bc7d2799-8343-4700-a415-847e7fa12540 (do not change this comment) */