aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier2005-04-27 19:46:13 +0000
committerStefan Monnier2005-04-27 19:46:13 +0000
commit11b41e6f2087995dc7b780d5307a5af39b90c6e5 (patch)
tree4c1201469ced47143cd8829ba6948230a64e7b49 /lisp
parent8a2a65356d5e1bbd7a6f5188efac64763b4bd4db (diff)
downloademacs-11b41e6f2087995dc7b780d5307a5af39b90c6e5.tar.gz
emacs-11b41e6f2087995dc7b780d5307a5af39b90c6e5.zip
(cperl-mode): Don't precompile the font-lock-fontify-syntactic-keywords.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/cperl-mode.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index 700fa1c9efe..4a701edcca2 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -1514,14 +1514,14 @@ or as help on variables `cperl-tips', `cperl-problems',
1514 (set 'font-lock-unfontify-region-function ; not present with old Emacs 1514 (set 'font-lock-unfontify-region-function ; not present with old Emacs
1515 'cperl-font-lock-unfontify-region-function) 1515 'cperl-font-lock-unfontify-region-function)
1516 (make-local-variable 'cperl-syntax-done-to) 1516 (make-local-variable 'cperl-syntax-done-to)
1517 ;; Another bug: unless font-lock-syntactic-keywords, font-lock
1518 ;; ignores syntax-table text-property. (t) is a hack
1519 ;; to make font-lock think that font-lock-syntactic-keywords
1520 ;; are defined
1521 (make-local-variable 'font-lock-syntactic-keywords) 1517 (make-local-variable 'font-lock-syntactic-keywords)
1522 (setq font-lock-syntactic-keywords 1518 (setq font-lock-syntactic-keywords
1523 (if cperl-syntaxify-by-font-lock 1519 (if cperl-syntaxify-by-font-lock
1524 '(t (cperl-fontify-syntaxically)) 1520 '((cperl-fontify-syntaxically))
1521 ;; unless font-lock-syntactic-keywords, font-lock (pre-22.1)
1522 ;; used to ignore syntax-table text-properties. (t) is a hack
1523 ;; to make font-lock think that font-lock-syntactic-keywords
1524 ;; are defined.
1525 '(t))))) 1525 '(t)))))
1526 (make-local-variable 'cperl-old-style) 1526 (make-local-variable 'cperl-old-style)
1527 (if (boundp 'normal-auto-fill-function) ; 19.33 and later 1527 (if (boundp 'normal-auto-fill-function) ; 19.33 and later