help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: malformed function


From: Andreas Röhler
Subject: Re: malformed function
Date: Fri, 18 Mar 2011 12:27:55 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9

Am 18.03.2011 11:44, schrieb PJ Weisberg:
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



thanks all!

error has been a cond clause left open.

Andreas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]