summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/edebug.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-12-25 17:14:26 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2019-12-25 17:14:26 +0100
commit19b28abc9bc9a756f2e37465cc5632ffb48df637 (patch)
treebea2a44b5daab4b23ef2909a2c52488d486a0984 /lisp/emacs-lisp/edebug.el
parent43d97f17b812f0e847f64717c57fc4ca48b4ef31 (diff)
downloademacs-19b28abc9bc9a756f2e37465cc5632ffb48df637.tar.gz
emacs-19b28abc9bc9a756f2e37465cc5632ffb48df637.tar.bz2
emacs-19b28abc9bc9a756f2e37465cc5632ffb48df637.zip
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.
Diffstat (limited to 'lisp/emacs-lisp/edebug.el')
-rw-r--r--lisp/emacs-lisp/edebug.el4
1 files changed, 1 insertions, 3 deletions
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)