Mercurial > hg > xemacs-beta
changeset 4516:e96f3aca4d63
Document initial position of point in `with-string-as-buffer-contents'.
author | Stephen J. Turnbull <stephen@xemacs.org> |
---|---|
date | Sat, 27 Sep 2008 16:31:32 +0900 |
parents | 83e35df20028 |
children | 5e8f6469169f |
files | lisp/ChangeLog lisp/subr.el |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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@xemacs.org> + + * subr.el (with-string-as-buffer-contents): + Document initial position of point. + 2008-08-31 Aidan Kehoe <kehoea@parhasard.net> * window.el (only-window-p): New.
--- 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