[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: malformed function
From: |
PJ Weisberg |
Subject: |
Re: malformed function |
Date: |
Fri, 18 Mar 2011 03:44:35 -0700 |
On 3/18/11, Andreas Röhler <andreas.roehler@easy-emacs.de> wrote:
>
> Hi,
>
> have something like that in my code:
>
> (save-restriction
> (widen)
> (let* (...
> (pps (parse-partial-sexp (point-min) (point)))
> (erg
> (cond
> (FIRST-COND
> DO-SOMETHING)
> ((nth 1 pps)
> DO-SOMETHING))))
>
> Compiler says:
>
> (nth 1 pps)' is a malformed function
>
> ;;;;;;
>
> Can't see why
Take a look at your code and make sure all the parens match up where
you think they do. 'nth' is a perfectly fine name for a function.
'(nth 1 pps)' is not.
-PJ