From 8ace7700b93c6c0835ddac6633a7ec07daf56225 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 10 Dec 2020 17:42:50 +0100 Subject: [PATCH] Remove some ancient Emacs compat code from cperl-mode This variable has this value by default since Emacs 19.34. * lisp/progmodes/cperl-mode.el (cperl-mode): Remove some compat code. --- lisp/progmodes/cperl-mode.el | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index 09d816d88ff..ed9b234d69c 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el @@ -1673,10 +1673,6 @@ or as help on variables `cperl-tips', `cperl-problems', (cperl-fontify-syntaxically end)))) ;; Do not introduce variable if not needed, we check it! (setq-local parse-sexp-lookup-properties t) - ;; Fix broken font-lock: - (or (boundp 'font-lock-unfontify-region-function) - (setq font-lock-unfontify-region-function - #'font-lock-default-unfontify-region)) ;; Our: just a plug for wrong font-lock (setq-local font-lock-unfontify-region-function ;; not present with old Emacs -- 2.39.2