Getting the source file pathname
    Chaitanya Gupta 
    mail at chaitanyagupta.com
       
    Sat Dec  9 20:16:49 UTC 2017
    
    
  
On 10 December 2017 at 01:35, Luís Oliveira <luismbo at gmail.com> wrote:
> Regarding slime-compile-defun, maybe. However, it's not
> straightforward because we call COMPILE-FILE and LOAD and it's those
> two functions take care of binding these special variables.
>
> For the eval functions, maybe not. They're more akin to calling EVAL
> on the expression (or typing it out at the REPL). (Try for instance
> slime-eval-last-expression with this expression: (eval-when
> (:load-toplevel) (print 'hello)).)
Good point. Perhaps we can bind a symbol in the SWANK package instead?
>
> Cheers,
>
> --
> Luís Oliveira
> http://kerno.org/~luis/
    
    
More information about the slime-devel
mailing list