Mercurial > emacs
diff etc/NEWS @ 26467:fe1632dc5fb3
*** empty log message ***
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 16 Nov 1999 13:35:20 +0000 |
parents | 23b09a47da5c |
children | 4df5920724de |
line wrap: on
line diff
--- a/etc/NEWS Tue Nov 16 13:29:51 1999 +0000 +++ b/etc/NEWS Tue Nov 16 13:35:20 1999 +0000 @@ -575,6 +575,17 @@ When you add a new item, please add it without either +++ or --- so I will know I still need to look at it -- rms. +** The new macro `with-syntax-table' can be used to evaluate forms +with the syntax table of the current buffer temporarily set to a +specified table. + + (with-syntax-table TABLE &rest BODY) + +Evaluate BODY with syntax table of current buffer set to a copy of +TABLE. Point, mark, current buffer, and syntax table are saved, BODY +is evaluated, and the saved values are restored, even in case of an +abnormal exit. Value is what BODY returns. + ** The optional argument BUFFER of function file-local-copy has been removed since it wasn't used by anything.