diff options
| author | Richard M. Stallman | 1995-02-13 03:01:16 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-02-13 03:01:16 +0000 |
| commit | 9796f12dfd4e6c445a135aeba3f46836d5a3aebc (patch) | |
| tree | 6b91dd5844523c2b329e67423c0fa0b5781abf53 | |
| parent | 2c5b706023fc303d467cdaa1d40f09de28b2e717 (diff) | |
| download | emacs-9796f12dfd4e6c445a135aeba3f46836d5a3aebc.tar.gz emacs-9796f12dfd4e6c445a135aeba3f46836d5a3aebc.zip | |
(pp-to-string): Don't use emacs-lisp-mode.
Just do the parts of it we actually want.
| -rw-r--r-- | lisp/emacs-lisp/pp.el | 3 |
1 files changed, 2 insertions, 1 deletions
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." | |||
| 32 | (set-buffer (generate-new-buffer " pp-to-string")) | 32 | (set-buffer (generate-new-buffer " pp-to-string")) |
| 33 | (unwind-protect | 33 | (unwind-protect |
| 34 | (progn | 34 | (progn |
| 35 | (emacs-lisp-mode) | 35 | (lisp-mode-variables) |
| 36 | (set-syntax-table emacs-lisp-mode-syntax-table) | ||
| 36 | (let ((print-escape-newlines pp-escape-newlines)) | 37 | (let ((print-escape-newlines pp-escape-newlines)) |
| 37 | (prin1 object (current-buffer))) | 38 | (prin1 object (current-buffer))) |
| 38 | (goto-char (point-min)) | 39 | (goto-char (point-min)) |