summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cperl-mode.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2013-02-03 10:47:12 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2013-02-03 10:47:12 -0500
commit4813c453b22ff7b965e31a30d35b70f73d6bcbc7 (patch)
tree27e8629969066a648c57cd2327687b30972514bc /lisp/progmodes/cperl-mode.el
parent659a9010460fe97b52b45cd61c09c015827091d2 (diff)
downloademacs-4813c453b22ff7b965e31a30d35b70f73d6bcbc7.tar.gz
emacs-4813c453b22ff7b965e31a30d35b70f73d6bcbc7.tar.bz2
emacs-4813c453b22ff7b965e31a30d35b70f73d6bcbc7.zip
* lisp/progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning.
Fixes: debbugs:13614
Diffstat (limited to 'lisp/progmodes/cperl-mode.el')
-rw-r--r--lisp/progmodes/cperl-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index c302bb484af..7d34269b6b5 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -1839,7 +1839,7 @@ or as help on variables `cperl-tips', `cperl-problems',
(make-local-variable 'cperl-syntax-state)
(setq cperl-syntax-state nil) ; reset syntaxification cache
(if cperl-use-syntax-table-text-property
- (if (boundp 'syntax-propertize-function)
+ (if (eval-when-compile (fboundp 'syntax-propertize-rules))
(progn
;; Reset syntaxification cache.
(set (make-local-variable 'cperl-syntax-done-to) nil)