unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: John Mastro <john.b.mastro@gmail.com>
To: help-gnu-emacs@gnu.org
Cc: Davin Pearson <davin.pearson@gmail.com>
Subject: Re: Novice trouble with generator.el
Date: Mon, 16 Nov 2015 20:16:59 -0800	[thread overview]
Message-ID: <0F8BB159-6D54-40F5-9CA4-986D4BEFF2B0@gmail.com> (raw)
In-Reply-To: <5f74a87f-ffb4-4597-a0bd-de2d35ed4035@googlegroups.com>

> When I try to execute 
> 
> iter-defun iterator-of-directory-files (directory &optional full match nosort recurse)
> 
> it gives me the following error:
> 
> Assertion failed: lexical-binding
> 
> What gives?  Note that I am using Emacs 24.3.1.
> 
> Do I have to execute Emacs 25.x.y?

Put a comment like this as the very first line of the file:

;;; lexical-binding: t

Lexical binding is optional in Emacs but generator.el requires it. 

-- 
john


  reply	other threads:[~2015-11-17  4:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-05  7:18 Novice trouble with generator.el Davin Pearson
2015-11-05 18:13 ` Michael Heerdegen
2015-11-05 18:56   ` Eli Zaretskii
2015-11-05 21:22     ` Michael Heerdegen
     [not found] ` <mailman.1782.1446747234.7904.help-gnu-emacs@gnu.org>
2015-11-17  3:52   ` Davin Pearson
2015-11-17  4:16     ` John Mastro [this message]
     [not found]     ` <mailman.39.1447733833.31583.help-gnu-emacs@gnu.org>
2015-11-17  7:24       ` Davin Pearson
2015-11-17  7:41         ` Michael Heerdegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0F8BB159-6D54-40F5-9CA4-986D4BEFF2B0@gmail.com \
    --to=john.b.mastro@gmail.com \
    --cc=davin.pearson@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).