]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't bind XEmacs-only variable in edebug
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 25 Dec 2019 16:14:26 +0000 (17:14 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 25 Dec 2019 16:14:26 +0000 (17:14 +0100)
* lisp/emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Remove
binding of XEmacs-only variable print-readably.

lisp/emacs-lisp/edebug.el

index 04a640c82c387f8eaf0b0c9038cca180a5044a88..68b87f10b218522f66e513b10fee7012057f7fb2 100644 (file)
@@ -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)