[Top][All Lists]

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

bug#58025: [PATCH] Ensure `byte-compile-dest-file-function' is used

From: emacs
Subject: bug#58025: [PATCH] Ensure `byte-compile-dest-file-function' is used
Date: Fri, 23 Sep 2022 13:24:24 +0100
User-agent: Roundcube Webmail/1.4.12

The attached `git format-patch` is based on automake v1.16.5 and fixes
the following warning

    Warning (bytecomp): byte-compile-dest-file is obsolete (as of 23.2);
    Set byte-compile-dest-file-function instead.

The solution is to ensure bytecomp is loaded which defines
byte-compile-dest-file-function so it can be used when available,
and fallback to the original byte-compile-dest-file for earlier
GNU Emacs and XEmacs.

So far I've tested the result on

* CentOS 7.9 (distro emacs 24.3)
* OpenBSD 7.1 (custom emacs 28.2)
* OpenSUSE Leap 15.4 (distro emacs 27.2, xemacs 21.5)

and the warning is no longer generated.

Attachment: 0001-Ensure-byte-compile-dest-file-function-is-used-when-.patch
Description: Text Data

reply via email to

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