Fix pp-emacs-lisp-code printing of symbols

* lisp/emacs-lisp/pp.el (pp--insert-lisp): Print symbols
readably (bug#69168).
This commit is contained in:
Michael Heerdegen 2024-02-18 02:48:15 +01:00
parent ed43ad5b56
commit 9a2ce74c37

View file

@ -458,6 +458,8 @@ the bounds of a region containing Lisp code to pretty-print."
(string
(let ((print-escape-newlines t))
(prin1 sexp (current-buffer))))
(symbol
(prin1 sexp (current-buffer)))
(otherwise (princ sexp (current-buffer)))))
(defun pp--format-vector (sexp)