[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46302: 28.0.50; cperl-mode cleanup: Eliminate dead code
From: |
Harald Jörg |
Subject: |
bug#46302: 28.0.50; cperl-mode cleanup: Eliminate dead code |
Date: |
Thu, 04 Feb 2021 20:21:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
In two places, CPerl mode checks whether `syntax-propertize-rules` is
fboundp, which is always true as of today. The attached patch
eliminates this check and the corresponding "else"-Branches.
Also, an (undocumented) debug trace doesn't work in current Emacs
because the function `edebug-backtrace` was eliminated, so this call is
removed by the patch.
Finally, a workaround to set `font-lock-syntactic-keywords` is no longer
needed. This eliminates a warning when compiling cperl-mode.el under
current Emacs.
--
Cheers,
haj
0001-cperl-mode-eliminate-dead-code.patch
Description: cperl-mode cleanup: Eliminate dead code
- bug#46302: 28.0.50; cperl-mode cleanup: Eliminate dead code,
Harald Jörg <=