GNU bug report logs -
#43622
28.0.50; [CLEANUP][PATCH] cperl-mode: Eliminate dead code
Previous Next
Reported by: Harald Jörg <haj <at> posteo.de>
Date: Sat, 26 Sep 2020 00:36:01 UTC
Severity: normal
Tags: fixed, patch
Found in version 28.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Lars Ingebrigtsen writes:
> Harald Jörg <haj <at> posteo.de> writes:
>
>> As recently discussed on the emacs-devel list, I'd like to eradicate
>> conditional code from cperl-mode where the conditionals evaluate to nil.
>>
>> [...]
>
> Looks good, so I've applied it to Emacs 28 with one change:
>
> In end of data:
> progmodes/cperl-mode.el:8525:1: Warning: the function `cperl-init-faces-weak'
> is not known to be defined.
>
> This function was removed, but the call wasn't, so I removed it (and
> changed the surrounding code slightly). If you could check that I
> didn't mess up that bit, that'd be nice.
Ouch - my bad. I missed to apply that hunk. I had a solution with the
same logic, but less elegant (closer to the original). Many thanks for
spotting this!
--
Cheers,
haj
This bug report was last modified 4 years and 233 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.