aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/pp.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/pp.el b/lisp/emacs-lisp/pp.el
index 013ce8402d..34c8857aec 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))