]> git.eshelyaron.com Git - emacs.git/commitdiff
(pp-to-string): Use emacs-lisp-mode-sytax-table.
authorRichard M. Stallman <rms@gnu.org>
Mon, 4 Aug 1997 19:06:02 +0000 (19:06 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 4 Aug 1997 19:06:02 +0000 (19:06 +0000)
lisp/emacs-lisp/pp.el

index 013ce8402d30cdcd5f2a2206d5afa1e7728614bf..34c8857aec9468a6479d53b5fc63f29e77325345 100644 (file)
@@ -34,7 +34,8 @@ that `read' can handle, whenever this is possible."
     (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))