[slime-cvs] CVS slime
mbaringer
mbaringer at common-lisp.net
Mon Sep 18 21:26:14 UTC 2006
Update of /project/slime/cvsroot/slime
In directory clnet:/tmp/cvs-serv11388
Modified Files:
slime.el
Log Message:
(slime-rex): Update docstring.
(slime-eval, slime-eval-async): Added new REASON parameter sent along
with :abort message.
--- /project/slime/cvsroot/slime/slime.el 2006/09/13 15:36:50 1.649
+++ /project/slime/cvsroot/slime/slime.el 2006/09/18 21:26:13 1.650
@@ -2335,10 +2335,11 @@
PACKAGE is evaluated and Lisp binds *BUFFER-PACKAGE* to this package.
The default value is (slime-current-package).
-CLAUSES is a list of patterns with same syntax as `destructure-case'.
-The result of the evaluation is dispatched on CLAUSES. The result is
-either a sexp of the form (:ok VALUE) or (:abort). CLAUSES is
-executed asynchronously.
+CLAUSES is a list of patterns with same syntax as
+`destructure-case'. The result of the evaluation of SEXP is
+dispatched on CLAUSES. The result is either a sexp of the
+form (:ok VALUE) or (:abort REASON). CLAUSES is executed
+asynchronously.
Note: don't use backquote syntax for SEXP, because Emacs20 cannot
deal with that."
@@ -2418,8 +2419,8 @@
(error "tag = %S eval-tags = %S sexp = %S"
tag slime-stack-eval-tags sexp))
(throw tag (list #'identity value)))
- ((:abort)
- (throw tag (list #'error "Synchronous Lisp Evaluation aborted."))))
+ ((:abort &optional reason)
+ (throw tag (list #'error (or reason "Synchronous Lisp Evaluation aborted.")))))
(let ((debug-on-quit t)
(inhibit-quit nil)
(conn (slime-connection)))
@@ -2434,8 +2435,8 @@
(sexp (or package (slime-current-package)))
((:ok result)
(when cont (funcall cont result)))
- ((:abort)
- (message "Evaluation aborted."))))
+ ((:abort &optional reason)
+ (message (or reason "Evaluation aborted.")))))
;;; These functions can be handy too:
More information about the slime-cvs
mailing list