diff options
Diffstat (limited to 'lisp')
| -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)))) |