Commit fe0ef613 authored by João Távora's avatar João Távora
Browse files

Issue warning instead of warning when copy-to-repl gets confused

* contrib/sly-mrepl.el (sly-mrepl--copy-objects-to-repl): Issue
warning instead of error.
Showing with 2 additions and 1 deletion
+2 -1
......@@ -341,7 +341,8 @@ emptied. See also `sly-mrepl-hook'")
value-idx entry-idx)))
(defun sly-mrepl--copy-objects-to-repl (method-args note &optional callback)
(cl-assert (not sly-mrepl--copy-to-repl-after))
(when sly-mrepl--copy-to-repl-after
(sly-warning "A previous copy-to-repl operation has failed."))
(setq sly-mrepl--copy-to-repl-after
#'(lambda (objects)
(when note
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment