From 4813c453b22ff7b965e31a30d35b70f73d6bcbc7 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 3 Feb 2013 10:47:12 -0500 Subject: [PATCH] * lisp/progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning. Fixes: debbugs:13614 --- lisp/ChangeLog | 3 +++ lisp/progmodes/cperl-mode.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 693d2d769ce..d0c1ae7c5e7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2013-02-03 Stefan Monnier + * 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). 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) -- 2.39.5