summaryrefslogtreecommitdiff
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2020-12-10 17:42:50 +0100
committerStefan Kangas <stefan@marxist.se>2020-12-10 17:44:46 +0100
commit8ace7700b93c6c0835ddac6633a7ec07daf56225 (patch)
tree0a5487a3e73a99129a64a7d7b1f6f3a364ea2382 /lisp/progmodes
parent26dbba71786913927283443c8b1d0cb4c103a317 (diff)
downloademacs-8ace7700b93c6c0835ddac6633a7ec07daf56225.tar.gz
emacs-8ace7700b93c6c0835ddac6633a7ec07daf56225.tar.bz2
emacs-8ace7700b93c6c0835ddac6633a7ec07daf56225.zip
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.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/cperl-mode.el4
1 files changed, 0 insertions, 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