[slime-devel] Re: per-slime-dialect slime-connected-hook implementation

Samium Gromoff _deepfire at feelingofgreen.ru
Fri Dec 1 02:49:35 UTC 2006


At Thu, 30 Nov 2006 17:03:38 +0100,
Marco Baringer wrote:
[snipped]
> >         (defun ,funsym ()
> >           ,(format "Start up slime according to `%s'." progsym)
> >           (interactive)
> >           (let ((inferior-lisp-program ,progsym))
> > +	   (setq *slime-in-dialect* ,name)
>
> would a let work jsut as well here? (i'd like to avoid a new global if
> it's only purpose is to choose which hook to run).
> 
> >             (run-hooks ',hooksym)
> >             (call-interactively 'slime))))))

Only if a let-bound variable could be made dynamic-extent, which, as far as i know
(i could be wrong,) elisp cannot do.

regards, Samium Gromoff



More information about the slime-devel mailing list