From: Richard M. Stallman Date: Mon, 13 Feb 1995 03:01:16 +0000 (+0000) Subject: (pp-to-string): Don't use emacs-lisp-mode. X-Git-Tag: emacs-19.34~5134 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9796f12dfd4e6c445a135aeba3f46836d5a3aebc;p=emacs.git (pp-to-string): Don't use emacs-lisp-mode. Just do the parts of it we actually want. --- diff --git a/lisp/emacs-lisp/pp.el b/lisp/emacs-lisp/pp.el index 9f4d5044855..e2aaac535f2 100644 --- a/lisp/emacs-lisp/pp.el +++ b/lisp/emacs-lisp/pp.el @@ -32,7 +32,8 @@ that `read' can handle, whenever this is possible." (set-buffer (generate-new-buffer " pp-to-string")) (unwind-protect (progn - (emacs-lisp-mode) + (lisp-mode-variables) + (set-syntax-table emacs-lisp-mode-syntax-table) (let ((print-escape-newlines pp-escape-newlines)) (prin1 object (current-buffer))) (goto-char (point-min))