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

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

bug#30039: 26.0.90; [26.1] Making my code warning free is impossible wit


From: Noam Postavsky
Subject: bug#30039: 26.0.90; [26.1] Making my code warning free is impossible with when-let
Date: Tue, 09 Jan 2018 09:05:43 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

Damien Cassou <damien@cassou.me> writes:

> I try to make all my packages warning free by setting
> byte-compile-error-on-warn and running the byte compiler during
> continuous integration. I do that for both Emacs 25 and Emacs 26. This
> has become impossible with Emacs 26 because when-let is deprecated but
> it’s replacement does not exist in Emacs 25.

Couldn't you do

(eval-when-compile
  (unless (fboundp 'when-let*)
    (defalias 'when-let* 'when-let)))





reply via email to

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