[slime-devel] slime-defun-if-undefined

Gary King gwking at metabang.com
Fri Feb 9 16:17:15 UTC 2007


Shouldn't it be

>> (defmacro slime-defun-if-undefined (name &rest rest)
>>  `(unless (fboundp ',name)
>>    (defun ,name , at rest)))

so that the fboundp test stays in the expanded version...

On Feb 9, 2007, at 10:33 AM, Lennart Staflin wrote:

>> From slime.el:
>
> (defmacro slime-defun-if-undefined (name &rest rest)
>  (unless (fboundp name)
>    `(defun ,name , at rest)))
>
>
> Anyone see a problem with that definition? It assumes that slime
> hasn't been loaded before compiling slime.el. It bit me. I tend to
> just do a cvs up and byte-recompile-directory when upgrading slime
> with whatever emacs I have running.
>
>
> -- 
> //Lennart Staflin
> _______________________________________________
> slime-devel site list
> slime-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/slime-devel

--
Gary Warren King, metabang.com
Cell: (413) 885 9127
Fax: (206) 338-4052
gwkkwg on Skype * garethsan on AIM







More information about the slime-devel mailing list