From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Xue Fuqiao <xfq.free@gmail.com>
Cc: 13614@debbugs.gnu.org
Subject: bug#13614: [24.3.50] `font-lock-syntactic-keywords' is used in cperl-mode
Date: Sun, 03 Feb 2013 10:47:47 -0500 [thread overview]
Message-ID: <jwvy5f5l7x7.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <20130203105011.e66b7c6f4ff8c805c670ee2d@gmail.com> (Xue Fuqiao's message of "Sun, 3 Feb 2013 10:50:11 +0800")
> In L1869 of lisp/progmodes/cperl-mode.el in trunk r111664:
> (setq font-lock-syntactic-keywords
> ...
> But `font-lock-syntactic-keywords' is an obsolete variable,
> `syntax-propertize-function' is recommended.
I installed the patch below (into trunk) to silence it.
Stefan
=== modified file 'lisp/ChangeLog'
--- lisp/ChangeLog 2013-02-03 15:28:47 +0000
+++ lisp/ChangeLog 2013-02-03 15:46:44 +0000
@@ -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).
=== modified file 'lisp/progmodes/cperl-mode.el'
--- lisp/progmodes/cperl-mode.el 2013-01-02 16:13:04 +0000
+++ lisp/progmodes/cperl-mode.el 2013-02-03 15:46:11 +0000
@@ -1839,7 +1839,7 @@
(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)
prev parent reply other threads:[~2013-02-03 15:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-03 2:50 bug#13614: [24.3.50] `font-lock-syntactic-keywords' is used in cperl-mode Xue Fuqiao
2013-02-03 15:47 ` Stefan Monnier [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvy5f5l7x7.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=13614@debbugs.gnu.org \
--cc=xfq.free@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.