From: Stefan Kangas Date: Thu, 10 Dec 2020 16:42:50 +0000 (+0100) Subject: Remove some ancient Emacs compat code from cperl-mode X-Git-Tag: emacs-28.0.90~4796 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8ace7700b93c6c0835ddac6633a7ec07daf56225;p=emacs.git 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. --- 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