From: Lars Ingebrigtsen Date: Wed, 25 Dec 2019 16:14:26 +0000 (+0100) Subject: Don't bind XEmacs-only variable in edebug X-Git-Tag: emacs-28.0.90~7944 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=19b28abc9bc9a756f2e37465cc5632ffb48df637;p=emacs.git Don't bind XEmacs-only variable in edebug * lisp/emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Remove binding of XEmacs-only variable print-readably. --- diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 04a640c82c3..68b87f10b21 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el @@ -3708,7 +3708,6 @@ Return the result of the last expression." (prin1-to-string edebug-arg)) (cdr value) ", "))) -(defvar print-readably) ; defined by lemacs ;; Alternatively, we could change the definition of ;; edebug-safe-prin1-to-string to only use these if defined. @@ -3716,8 +3715,7 @@ Return the result of the last expression." (let ((print-escape-newlines t) (print-length (or edebug-print-length print-length)) (print-level (or edebug-print-level print-level)) - (print-circle (or edebug-print-circle print-circle)) - (print-readably nil)) ; lemacs uses this. + (print-circle (or edebug-print-circle print-circle))) (edebug-prin1-to-string value))) (defun edebug-compute-previous-result (previous-value)