[climacs-cvs] CVS update: climacs/Doc/climacs-internals.texi

Robert Strandh rstrandh at common-lisp.net
Wed Dec 29 06:59:00 UTC 2004


Update of /project/climacs/cvsroot/climacs/Doc
In directory common-lisp.net:/tmp/cvs-serv18511/Doc

Modified Files:
	climacs-internals.texi 
Log Message:
Modified the buffer protocol to contain a modification flag, and 
implemented the modification.  Updated the documentation.

Added a flag to the climacs-buffer indicating whether the buffer needs
saving.  This is different from the modification flag, which is only
valid during one iteration of the command loop.  The needs-saving flag
checks the modification flag, though, after each command execution. 


Date: Wed Dec 29 07:58:57 2004
Author: rstrandh

Index: climacs/Doc/climacs-internals.texi
diff -u climacs/Doc/climacs-internals.texi:1.4 climacs/Doc/climacs-internals.texi:1.5
--- climacs/Doc/climacs-internals.texi:1.4	Sun Dec 26 07:14:51 2004
+++ climacs/Doc/climacs-internals.texi	Wed Dec 29 07:58:55 2004
@@ -432,10 +432,20 @@
 update information about syntax highlighting and other cached
 information.
 
- at deffn {Generic Function} {reset-low-high-marks} buffer
+In addition to these marks, the buffer maintains a modification flag
+that determines.  Whether the buffer has been modified since the last
+call to clear-modify. 
+
+ at deffn {Generic Function} {modified-p} buffer
+
+Return true if and only if the buffer has beeen modified. 
+ at end deffn
+
+ at deffn {Generic Function} {clear-modify} buffer
 
 Set the high-mark to the beginning of the beginning of the buffer and
-the low-mark to the end of the buffer. 
+the low-mark to the end of the buffer, and clear the modification
+flag. 
 @end deffn
 
 This function is used by the redisplay module after all of the panes




More information about the Climacs-cvs mailing list