diff options
| author | Chong Yidong | 2012-08-07 11:33:37 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-08-07 11:33:37 +0800 |
| commit | 9f6f48455f7d25e5cc2d50485d98ff3af43946a2 (patch) | |
| tree | 2c2a07d59e656de8681a8ebbe2570e4b5e138f48 /lisp | |
| parent | 7d732d1a24f77e1ee68ec952130dcc4a65d3e6a7 (diff) | |
| parent | 7178e7222c34f2654ccc126c64eb16fbe5f382b5 (diff) | |
| download | emacs-9f6f48455f7d25e5cc2d50485d98ff3af43946a2.tar.gz emacs-9f6f48455f7d25e5cc2d50485d98ff3af43946a2.zip | |
Merge from emacs-24; up to 2012-05-02T07:12:52Z!rgm@gnu.org.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/cperl-mode.el | 8 |
2 files changed, 12 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ebaea892a19..5d915a39814 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * progmodes/cperl-mode.el (cperl-mode): Yet another fix for | ||
| 4 | syntax-propertize-function (bug#10095). | ||
| 5 | |||
| 6 | 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 7 | |||
| 3 | * help-fns.el (help-fns--key-bindings, help-fns--signature) | 8 | * help-fns.el (help-fns--key-bindings, help-fns--signature) |
| 4 | (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from | 9 | (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from |
| 5 | describe-function-1. | 10 | describe-function-1. |
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index d9b50ea3cc3..e1430b67e99 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -1838,7 +1838,13 @@ or as help on variables `cperl-tips', `cperl-problems', | |||
| 1838 | (set (make-local-variable 'cperl-syntax-done-to) nil) | 1838 | (set (make-local-variable 'cperl-syntax-done-to) nil) |
| 1839 | (set (make-local-variable 'syntax-propertize-function) | 1839 | (set (make-local-variable 'syntax-propertize-function) |
| 1840 | (lambda (start end) | 1840 | (lambda (start end) |
| 1841 | (goto-char start) (cperl-fontify-syntaxically end)))) | 1841 | (goto-char start) |
| 1842 | ;; Even if cperl-fontify-syntaxically has already gone | ||
| 1843 | ;; beyond `start', syntax-propertize has just removed | ||
| 1844 | ;; syntax-table properties between start and end, so we have | ||
| 1845 | ;; to re-apply them. | ||
| 1846 | (setq cperl-syntax-done-to start) | ||
| 1847 | (cperl-fontify-syntaxically end)))) | ||
| 1842 | (make-local-variable 'parse-sexp-lookup-properties) | 1848 | (make-local-variable 'parse-sexp-lookup-properties) |
| 1843 | ;; Do not introduce variable if not needed, we check it! | 1849 | ;; Do not introduce variable if not needed, we check it! |
| 1844 | (set 'parse-sexp-lookup-properties t) | 1850 | (set 'parse-sexp-lookup-properties t) |