emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 9a2ce74c378 1/2: Fix pp-emacs-lisp-code printing of symbols


From: Michael Heerdegen
Subject: master 9a2ce74c378 1/2: Fix pp-emacs-lisp-code printing of symbols
Date: Mon, 11 Mar 2024 00:43:28 -0400 (EDT)

branch: master
commit 9a2ce74c3783c4be8ba70642da374d8e77c6f9ac
Author: Michael Heerdegen <michael_heerdegen@web.de>
Commit: Michael Heerdegen <michael_heerdegen@web.de>

    Fix pp-emacs-lisp-code printing of symbols
    
    * lisp/emacs-lisp/pp.el (pp--insert-lisp): Print symbols
    readably (bug#69168).
---
 lisp/emacs-lisp/pp.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/emacs-lisp/pp.el b/lisp/emacs-lisp/pp.el
index 1d722051406..944dd750839 100644
--- a/lisp/emacs-lisp/pp.el
+++ b/lisp/emacs-lisp/pp.el
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]