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

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

Re: Novice trouble with generator.el


From: John Mastro
Subject: Re: Novice trouble with generator.el
Date: Mon, 16 Nov 2015 20:16:59 -0800

> 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 via email to

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