changeset: 4551:e96f3aca4d63ae750580ce3d8b84201321340723
parent: 4541:83e35df20028429b49acb60906054e176629b1f0
user: Stephen J. Turnbull <stephen(a)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@parhasa
+2008-09-27 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * subr.el (with-string-as-buffer-contents):
+ Document initial position of point.
+
2008-08-31 Aidan Kehoe <kehoea(a)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
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches