Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
14e7cb94
Commit
14e7cb94
authored
Dec 17, 2005
by
Chong Yidong
Browse files
* emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Capture
error from printing circular structures.
parent
d912b87a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/emacs-lisp/edebug.el
lisp/emacs-lisp/edebug.el
+3
-1
No files found.
lisp/ChangeLog
View file @
14e7cb94
2005-12-17 Chong Yidong <cyd@stupidchicken.com>
* emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Capture
error from printing circular structures.
2005-12-17 Martin Rudalics <rudalics@gmx.at> (tiny change)
* wid-edit.el (widget-checkbox-action): Clear undo info.
...
...
lisp/emacs-lisp/edebug.el
View file @
14e7cb94
...
...
@@ -3711,7 +3711,9 @@ Return the result of the last expression."
(
print-level
(
or
edebug-print-level
print-level
))
(
print-circle
(
or
edebug-print-circle
print-circle
))
(
print-readably
nil
))
;; lemacs uses this.
(
edebug-prin1-to-string
value
)))
(
condition-case
nil
(
edebug-prin1-to-string
value
)
(
error
"#Apparently circular structure#"
))))
(
defun
edebug-compute-previous-result
(
edebug-previous-value
)
(
if
edebug-unwrap-results
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment