# HG changeset patch # User Chong Yidong # Date 1157117795 0 # Node ID 63df36f810bc81a82cadd61b0fb3e55342984d0a # Parent 03f6ec3cc19df832e4229521bc404896fcbeeff0 Document `buffer-chars-modified-tick' diff -r 03f6ec3cc19d -r 63df36f810bc etc/NEWS --- a/etc/NEWS Fri Sep 01 13:35:11 2006 +0000 +++ b/etc/NEWS Fri Sep 01 13:36:35 2006 +0000 @@ -4083,6 +4083,13 @@ ** Text modification: +++ +*** The new function `buffer-chars-modified-tick' returns a buffer's +tick counter for changes to characters. Each time text in that buffer +is inserted or deleted, the character-change counter is updated to the +tick counter (`buffer-modified-tick'). Text property changes leave it +unchanged. + ++++ *** The new function `insert-for-yank' normally works like `insert', but removes the text properties in the `yank-excluded-properties' list and handles the `yank-handler' text property.