summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS11
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index c8e334efa2b..5e0ad4861f7 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -575,6 +575,17 @@ Note that +++ before an item means the Lisp manual has been updated.
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.