In article <[EMAIL PROTECTED]>, Klaus Berndl <[EMAIL PROTECTED]> 
wrote:

> Can i use variables for the keys of the KEY-CLAUSES?

No.  The keys are actually a list of constants.  If it were evaluated, a 
list would be treated as a function call.

> Of course the notation above can not work but my question is: What is right
> notation?

Use 'cond' instead:

(let ((type (tree-node->type node)))
  (cond (eq type my-bucket-node-type) ...)
        (eq type my-tag-node-type) ...)))

-- 
Barry Margolin, [EMAIL PROTECTED]
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to