]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove some ancient Emacs compat code from cperl-mode
authorStefan Kangas <stefan@marxist.se>
Thu, 10 Dec 2020 16:42:50 +0000 (17:42 +0100)
committerStefan Kangas <stefan@marxist.se>
Thu, 10 Dec 2020 16:44:46 +0000 (17:44 +0100)
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

index 09d816d88ff23b39b83ac22f8d9b2c8f6d5720c8..ed9b234d69c7f9b73f0108b8f449e20f55728a08 100644 (file)
@@ -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