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

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

Re: elisp.m4


From: Stefan Monnier
Subject: Re: elisp.m4
Date: Wed, 09 Nov 2016 15:01:45 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> Good catch, thanks.  After a bit of archeology, i think EDB must
> give up dreams of portability to pre-24.3 (i.e., pre cl-lib) and
> simply require cl-lib.  Betrayed by ‘flet’.  Rats.

I can't see why flet should be a problem in this respect.
It's easy to replace uses of `flet` with uses of `cl-letf`.  E.g.

    (flet ((f (arg) body))
      ...)

turns into

    (cl-letf (((symbol-function 'f) (lambda (arg) body)))
      ...)


        Stefan




reply via email to

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