changeset 27384:a10a13dd0670

(with-syntax-table): Use make-symbol, not gensym.
author Richard M. Stallman <rms@gnu.org>
date Fri, 21 Jan 2000 03:40:33 +0000
parents b1b3e778f7ac
children f7b7fdb0f3f4
files lisp/subr.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/subr.el	Fri Jan 21 03:38:12 2000 +0000
+++ b/lisp/subr.el	Fri Jan 21 03:40:33 2000 +0000
@@ -1095,8 +1095,8 @@
 The syntax table of the current buffer is saved, BODY is evaluated, and the
 saved table is restored, even in case of an abnormal exit.
 Value is what BODY returns."
-  (let ((old-table (gensym))
-	(old-buffer (gensym)))
+  (let ((old-table (make-symbol "table"))
+	(old-buffer (make-symbol "buffer")))
     `(let ((,old-table (syntax-table))
 	   (,old-buffer (current-buffer)))
        (unwind-protect