diff options
| author | Erik Charlebois | 2013-04-22 10:11:37 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2013-04-22 10:11:37 -0400 |
| commit | 70203c2ec17efdb68b0873e4a62e2862a347e095 (patch) | |
| tree | df1b89a454e4aeabf4463b2a1bd0df1d94b9c4bc | |
| parent | 8c1f2bb0fa5eec3f052f81082ccde733e337eb40 (diff) | |
| download | emacs-70203c2ec17efdb68b0873e4a62e2862a347e095.tar.gz emacs-70203c2ec17efdb68b0873e4a62e2862a347e095.zip | |
* lisp/emacs-lisp/syntax.el (syntax-propertize-multiline):
Use `syntax-multiline' text property consistently instead of
`font-lock-multiline'..
Fixes: debbugs:14237
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/emacs-lisp/syntax.el | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index dd209f75bf6..b1baa9d9e64 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2013-04-22 Erik Charlebois <erikcharlebois@gmail.com> | ||
| 2 | |||
| 3 | * emacs-lisp/syntax.el (syntax-propertize-multiline): | ||
| 4 | Use `syntax-multiline' text property consistently instead of | ||
| 5 | `font-lock-multiline'. (bug#14237). | ||
| 6 | |||
| 1 | 2013-04-06 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2013-04-06 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 8 | ||
| 3 | * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert | 9 | * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert |
diff --git a/lisp/emacs-lisp/syntax.el b/lisp/emacs-lisp/syntax.el index bf2c8308bb5..0a4758a9ccd 100644 --- a/lisp/emacs-lisp/syntax.el +++ b/lisp/emacs-lisp/syntax.el | |||
| @@ -99,7 +99,7 @@ Put first the functions more likely to cause a change and cheaper to compute.") | |||
| 99 | (setq beg (or (previous-single-property-change beg 'syntax-multiline) | 99 | (setq beg (or (previous-single-property-change beg 'syntax-multiline) |
| 100 | (point-min)))) | 100 | (point-min)))) |
| 101 | ;; | 101 | ;; |
| 102 | (when (get-text-property end 'font-lock-multiline) | 102 | (when (get-text-property end 'syntax-multiline) |
| 103 | (setq end (or (text-property-any end (point-max) | 103 | (setq end (or (text-property-any end (point-max) |
| 104 | 'syntax-multiline nil) | 104 | 'syntax-multiline nil) |
| 105 | (point-max)))) | 105 | (point-max)))) |