[slime-devel] CVS slime

Tobias C. Rittweiler tcr at freebits.de
Mon Mar 1 14:15:41 UTC 2010


Helmut Eller <heller at common-lisp.net> writes:

> * CVS User trittweiler [2010-03-01 13:26+0100] writes:
>> +  (let ((conn (slime-current-connection)))
>> +    ;; Bail out early in case there's no connection, so we won't
>> +    ;; implicitly invoke `slime-connection' which may query the user.
>> +    (if (not conn)
>> +        (and slime-mode " Slime")
>> +        (let ((local (eq conn slime-buffer-connection))
>> +              (pkg   (slime-current-package)))
>
> There was no call to slime-connection so this is no different than
> before with a misleading comment added.
>
> Helmut

"implicitly": `slime-current-package' involves `
`slime-repl-find-buffer-package', in case one uses the slime-repl
contrib, which involves `slime-lisp-package' which is a connection
variable which involves `slime-with-connection-buffer' which involves
`slime-connection'.

  -T.





More information about the slime-devel mailing list