emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/buffers.texi,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/lispref/buffers.texi,v
Date: Fri, 01 Sep 2006 13:41:34 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      06/09/01 13:41:33

Index: buffers.texi
===================================================================
RCS file: /sources/emacs/emacs/lispref/buffers.texi,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -b -r1.50 -r1.51
--- buffers.texi        17 Jul 2006 23:56:35 -0000      1.50
+++ buffers.texi        1 Sep 2006 13:41:33 -0000       1.51
@@ -573,7 +573,6 @@
 echo area; use @code{set-buffer-modified-p} (above) instead.
 @end deffn
 
address@hidden Emacs 19 feature
 @defun buffer-modified-tick &optional buffer
 This function returns @var{buffer}'s modification-count.  This is a
 counter that increments every time the buffer is modified.  If
@@ -581,6 +580,23 @@
 The counter can wrap around occasionally.
 @end defun
 
address@hidden buffer-chars-modified-tick &optional buffer
+This function returns @var{buffer}'s character-change modification-count.
+Changes to text properties leave this counter unchanged; however, each
+time text is inserted or removed from the buffer, the counter is reset
+to the value that would be returned @code{buffer-modified-tick}.
+By comparing the values returned by two @code{buffer-chars-modified-tick}
+calls, you can tell whether a character change occurred in that buffer
+in between the calls.  If @var{buffer} is @code{nil} (or omitted), the
+current buffer is used.
address@hidden defun
+
+This function returns @var{buffer}'s modification-count.  This is a
+counter that increments every time the buffer is modified.  If
address@hidden is @code{nil} (or omitted), the current buffer is used.
+The counter can wrap around occasionally.
address@hidden defun
+
 @node Modification Time
 @comment  node-name,  next,  previous,  up
 @section Comparison of Modification Time




reply via email to

[Prev in Thread] Current Thread [Next in Thread]