diff lisp/emacs-lisp/pp.el @ 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 919ed1778c0b
children a61e2395961f
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))