changeset 19147:ec57f19bc39c

(pp-to-string): Use emacs-lisp-mode-sytax-table.
author Richard M. Stallman <rms@gnu.org>
date Mon, 04 Aug 1997 19:06:02 +0000
parents 0f89b8543e19
children 7c41b30f50ce
files lisp/emacs-lisp/pp.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/pp.el	Mon Aug 04 19:03:37 1997 +0000
+++ b/lisp/emacs-lisp/pp.el	Mon Aug 04 19:06:02 1997 +0000
@@ -34,7 +34,8 @@
     (set-buffer (generate-new-buffer " pp-to-string"))
     (unwind-protect
 	(progn
-	  (lisp-mode-variables t)
+	  (lisp-mode-variables nil)
+	  (set-syntax-table emacs-lisp-mode-syntax-table)
 	  (let ((print-escape-newlines pp-escape-newlines))
 	    (prin1 object (current-buffer)))
 	  (goto-char (point-min))