- Subject: Re: c_mode_hook configuration
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Mon, 22 Oct 2007 11:06:30 +0000
G. Milde <milde@xxxxxxxxxxxxxxxxxxxxx> wrote:
> I took cmode.sl from the SVN rep and tried. It fails with
>
> any is undefined
I believe this should fix that:
  #ifnexists any
  define any (x)
  {
     return (length(where(x)));
  }
  #endif
The `any` function was introduced in slang-2.  Also, the wjed
executable at <http://www.paneura.com/~dino/wjed.html> uses slang-2,
and if the original poster uses that version, this particular problem
should not be an issue.
Thanks,
--John
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
  [2007 date index]
  [2007 thread index]
  
  [Thread Prev] [Thread Next]
      
  [Date Prev] [Date Next]