Any ilisp rpm files? (w/backtrace) He shoots. He scores! [possible bugfix]

<[email protected]> Sun, 18 Aug 2002 10:26:39 -0500
Newsgroups gmane.lisp.ilisp.general
Message-ID <[email protected]>
A. F. Smith writes:
 > ilisp-compile-inits worked just fine.
 > 
 > I tried to byte-compile-file ild.el. 
 > 
 > FAILED
 > 
 > came back with a bunch of...
 > "third arg to defvar ild-{*}-string is not a
 > string:nil" 
 > responses with the wild card being a bunch of
 > different string names.
 > 

I was looking at the definition of deflocal:

(defmacro deflocal (variable default &optional documentation)
  "Define an ilisp local variable."
  (` (progn (lisp-deflocal '(, variable))
	    (defvar (, variable) (, default) (, documentation)))))

I was wondering if revising this to something like

(defmacro deflocal (variable default &optional documentation)
  "Define an ilisp local variable."
  (let ((documentation
           (cond ((stringp documentation) documentation)
                 ;; on at least some xemacsen passing nil
                 ;; as the documentation to defvar seems bad
                 ((null documentation) "")
                 (t (error "Should pass nil or a string as documentation argument.")))))
  (` (progn (lisp-deflocal '(, variable))
	    (defvar (, variable) (, default) (, documentation))))))

might fix the problem....


R


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390