* lisp/progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning.

Fixes: debbugs:13614
This commit is contained in:
Stefan Monnier 2013-02-03 10:47:12 -05:00
parent 659a901046
commit 4813c453b2
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
(bug#13614).
* subr.el (internal--called-interactively-p--get-frame): Avoid filling
current-load-list (bug#13366).

View file

@ -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)