aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog17
-rw-r--r--lisp/progmodes/cperl-mode.el17
2 files changed, 20 insertions, 14 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f3fd2fc6517..c26a196ebe7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12012-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4 Use syntax-propertize (bug#11739).
5
12012-06-13 Glenn Morris <rgm@gnu.org> 62012-06-13 Glenn Morris <rgm@gnu.org>
2 7
3 * international/mule-cmds.el (mule-menu-keymap) 8 * international/mule-cmds.el (mule-menu-keymap)
@@ -18,13 +23,13 @@
18 23
192012-06-01 Chong Yidong <cyd@gnu.org> 242012-06-01 Chong Yidong <cyd@gnu.org>
20 25
21 * cus-edit.el (customize-changed-options-previous-release): Bump 26 * cus-edit.el (customize-changed-options-previous-release):
22 to 23.4. 27 Bump to 23.4.
23 28
242012-05-31 Stefan Monnier <monnier@iro.umontreal.ca> 292012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
25 30
26 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Handle 31 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
27 arbitrary file name lengths (Bug#11585). 32 Handle arbitrary file name lengths (Bug#11585).
28 33
292012-05-28 Martin Rudalics <rudalics@gmx.at> 342012-05-28 Martin Rudalics <rudalics@gmx.at>
30 35
@@ -34,8 +39,8 @@
342012-05-18 Eli Zaretskii <eliz@gnu.org> 392012-05-18 Eli Zaretskii <eliz@gnu.org>
35 40
36 * mail/sendmail.el (mail-yank-region): Recognize 41 * mail/sendmail.el (mail-yank-region): Recognize
37 rmail-yank-current-message in addition to insert-buffer. Fixes 42 rmail-yank-current-message in addition to insert-buffer.
38 mail-mode's "C-c C-r" that otherwise does nothing when invoked in 43 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
39 a *mail* buffer created through rmail-start-mail with sendmail as 44 a *mail* buffer created through rmail-start-mail with sendmail as
40 mail-user-agent. 45 mail-user-agent.
41 46
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index 9ea42db2a8c..2c258fb446a 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -8951,14 +8951,15 @@ do extra unwind via `cperl-unwind-to-safe'."
8951 (setq cperl-syntax-done-to (min cperl-syntax-done-to beg)))) 8951 (setq cperl-syntax-done-to (min cperl-syntax-done-to beg))))
8952 8952
8953(defun cperl-update-syntaxification (from to) 8953(defun cperl-update-syntaxification (from to)
8954 (if (and cperl-use-syntax-table-text-property 8954 (cond
8955 cperl-syntaxify-by-font-lock 8955 ((not cperl-use-syntax-table-text-property) nil)
8956 (or (null cperl-syntax-done-to) 8956 ((fboundp 'syntax-propertize) (syntax-propertize to))
8957 (< cperl-syntax-done-to to))) 8957 ((and cperl-syntaxify-by-font-lock
8958 (progn 8958 (or (null cperl-syntax-done-to)
8959 (save-excursion 8959 (< cperl-syntax-done-to to)))
8960 (goto-char from) 8960 (save-excursion
8961 (cperl-fontify-syntaxically to))))) 8961 (goto-char from)
8962 (cperl-fontify-syntaxically to)))))
8962 8963
8963(defvar cperl-version 8964(defvar cperl-version
8964 (let ((v "Revision: 6.2")) 8965 (let ((v "Revision: 6.2"))