emacs-devel
[Top][All Lists]
Advanced

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

Re: Best Way to Change Code to Use cl-lib


From: Stefan Monnier
Subject: Re: Best Way to Change Code to Use cl-lib
Date: Sun, 16 Dec 2012 11:00:42 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

There are various options, and you'll have to judge for yourself which
is best for your particular case:
- live with the warnings.
- switch to cl-lib and ask users of older Emacsen to install cl-lib
  (available in GNU ELPA).
- add things like (unless (fboundp 'cl-letf) (defalias 'cl-letf 'letf)).
- change the code to use something else (e.g. for flet, you can switch
  to using either defadvice or (let ((f1 (lambda ..))) ...).
- ...


        Stefan



reply via email to

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