]> git.eshelyaron.com Git - emacs.git/commit
;cperl-mode.el: Allow running under Emacs >=27
authorHarald Jörg <haj@posteo.de>
Thu, 16 May 2024 19:55:07 +0000 (21:55 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 18 May 2024 18:51:27 +0000 (20:51 +0200)
commit3e030f81649df3476b251cd50c5e3e78abf7bc79
tree38004b3f48de1d931b7b8c42365bad75516e7086
parent706775253067c7ec7cfdd27921f703c9361e9a1f
;cperl-mode.el: Allow running under Emacs >=27

I would like to advertise cperl-mode.el from the repository as a
workaround for bug#70948.  This can be achieved by safeguarding
the call to derived-mode-add-parents with a version check.

* lisp/progmodes/cperl-mode.el: Call derived-mode-add-parents only
if it is available.

(cherry picked from commit 96269209a3e22707635239d057be4feac217b4bc)
lisp/progmodes/cperl-mode.el