APPROVE COMMIT 21.5
This is the doc patch for `with-string-as-buffer-contents'. This
macro is older than I thought, we should be careful about changing it
(but IMO it's probably OK to change it).
diff -r 83e35df20028 -r e96f3aca4d63 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-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 83e35df20028 -r e96f3aca4d63 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 @@
;; 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-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta