]> git.eshelyaron.com Git - emacs.git/commit
Make byte-compile-cond-use-jump-table obsolete
authorStefan Kangas <stefankangas@gmail.com>
Wed, 5 Mar 2025 02:36:04 +0000 (03:36 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 9 Mar 2025 07:04:52 +0000 (08:04 +0100)
commita76aab5427fed810324c9ff60562d749475b12b1
tree7881d112e43df8ac37908bedba86506018b93f5f
parent4b56d36f8ba12d002341fc3a1bdf31e17c87df2e
Make byte-compile-cond-use-jump-table obsolete

This user option was introduced in 2017, with the rationale:

    "This is a workaround for when `byte-compile-cond-jump-table'
    accidentally generates wrong code (hasn't happened so far in my
    tests), and should be removed once we're sure there are no issues
    with it."  https://lists.gnu.org/r/emacs-devel/2017-02/msg00223.html

There hasn't been any bugs in this area within the last 6 years, and the
few we did see before that were quickly resolved.  Let's declare this
variable obsolete now, while keeping its behavior when set to nil.  We
can always revert the obsoletion if it turns out to be needed after all.

* lisp/emacs-lisp/bytecomp.el
(byte-compile-cond-use-jump-table): Declare obsolete.

(cherry picked from commit 7ba62284137ba162df16f55c75bda4d56da7dfe7)
lisp/emacs-lisp/bytecomp.el