From: Richard M. Stallman Date: Mon, 4 Aug 1997 19:06:02 +0000 (+0000) Subject: (pp-to-string): Use emacs-lisp-mode-sytax-table. X-Git-Tag: emacs-20.1~799 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=15b605aea89b34651452edf4d16af07e262b50b7;p=emacs.git (pp-to-string): Use emacs-lisp-mode-sytax-table. --- diff --git a/lisp/emacs-lisp/pp.el b/lisp/emacs-lisp/pp.el index 013ce8402d3..34c8857aec9 100644 --- a/lisp/emacs-lisp/pp.el +++ b/lisp/emacs-lisp/pp.el @@ -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))