commit: Document initial position of point in `with-string-as-buffer-contents'.

Stephen Turnbull unwelcome-guest at alioth.debian.org
Sun Oct 26 21:32:29 EDT 2008


changeset:   4516:e96f3aca4d63ae750580ce3d8b84201321340723
parent:      4507:83e35df20028429b49acb60906054e176629b1f0
user:        Stephen J. Turnbull <stephen at xemacs.org>
date:        Sat Sep 27 16:31:32 2008 +0900
files:       lisp/ChangeLog lisp/subr.el
description:
Document initial position of point in `with-string-as-buffer-contents'.


diff -r 83e35df20028429b49acb60906054e176629b1f0 -r e96f3aca4d63ae750580ce3d8b84201321340723 lisp/ChangeLog
--- a/lisp/ChangeLog	Mon Sep 08 08:48:22 2008 +0200
+++ b/lisp/ChangeLog	Sat Sep 27 16:31:32 2008 +0900
@@ -1,3 +1,8 @@ 2008-08-31  Aidan Kehoe  <kehoea at parhasa
+2008-09-27  Stephen J. Turnbull  <stephen at xemacs.org>
+
+	* subr.el (with-string-as-buffer-contents):
+	Document initial position of point.
+
 2008-08-31  Aidan Kehoe  <kehoea at parhasard.net>
 
 	* window.el (only-window-p): New.
diff -r 83e35df20028429b49acb60906054e176629b1f0 -r e96f3aca4d63ae750580ce3d8b84201321340723 lisp/subr.el
--- a/lisp/subr.el	Mon Sep 08 08:48:22 2008 +0200
+++ b/lisp/subr.el	Sat Sep 27 16:31:32 2008 +0900
@@ -645,6 +645,7 @@ Value is what BODY returns."
 ;; Moved from mule-coding.el.
 (defmacro with-string-as-buffer-contents (str &rest body)
   "With the contents of the current buffer being STR, run BODY.
+Point starts positioned to end of buffer.
 Returns the new contents of the buffer, as modified by BODY.
 The original current buffer is restored afterwards."
   `(with-temp-buffer





More information about the XEmacs-Patches mailing list