Mercurial > hg > xemacs-beta
comparison etc/NEWS @ 161:28f395d8dc7a r20-3b7
Import from CVS: tag r20-3b7
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:42:26 +0200 |
parents | 3bb7ccffb0c0 |
children | 0132846995bd |
comparison
equal
deleted
inserted
replaced
160:1c55655d6702 | 161:28f395d8dc7a |
---|---|
199 ** The TIME argument to `format-time-string' is now optional and | 199 ** The TIME argument to `format-time-string' is now optional and |
200 defaults to the current time. | 200 defaults to the current time. |
201 | 201 |
202 ** The PATTERN argument to `split-string' is now optional and defaults | 202 ** The PATTERN argument to `split-string' is now optional and defaults |
203 to whitespace ("[ \f\t\n\r\v]+"). | 203 to whitespace ("[ \f\t\n\r\v]+"). |
204 | |
205 ** The new macro `with-current-buffer' lets you evaluate an expression | |
206 conveniently with a different current buffer. It looks like this: | |
207 | |
208 (with-current-buffer BUFFER BODY-FORMS...) | |
209 | |
210 BUFFER is the expression that says which buffer to use. | |
211 BODY-FORMS say what to do in that buffer. | |
212 | |
213 ** The new primitive `save-current-buffer' saves and restores the | |
214 choice of current buffer, like `save-excursion', but without saving or | |
215 restoring the value of point or the mark. `with-current-buffer' | |
216 works using `save-current-buffer'. | |
217 | |
218 ** The new macro `with-temp-file' lets you do some work in a new buffer and | |
219 write the output to a specified file. Like `progn', it returns the value | |
220 of the last form. | |
204 | 221 |
205 | 222 |
206 | 223 |
207 * Changes in XEmacs 20.2 | 224 * Changes in XEmacs 20.2 |
208 ======================== | 225 ======================== |