diff options
| author | Stefan Monnier | 2007-02-15 16:36:58 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-02-15 16:36:58 +0000 |
| commit | a3609743156ca71f1e33aeafb1c803ec7a5176c0 (patch) | |
| tree | 9199d1048cb30e87ecfdbf65d96c31c9cfd7a140 | |
| parent | 8bec6ac5dfc8224801c71fcf1122bc25e08ed7ea (diff) | |
| download | emacs-a3609743156ca71f1e33aeafb1c803ec7a5176c0.tar.gz emacs-a3609743156ca71f1e33aeafb1c803ec7a5176c0.zip | |
(font-lock-extend-region-wholelines):
Only return non-nil if the region has really been changed.
Reported by David Hansen <david.hansen@physik.fu-berlin.de>
| -rw-r--r-- | lisp/ChangeLog | 14 | ||||
| -rw-r--r-- | lisp/font-lock.el | 5 |
2 files changed, 14 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 84f07b52b83..9ffb729822d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2007-02-15 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * font-lock.el (font-lock-extend-region-wholelines): | ||
| 4 | Only return non-nil if the region has really been changed. | ||
| 5 | Reported by David Hansen <david.hansen@physik.fu-berlin.de> | ||
| 6 | |||
| 1 | 2007-02-15 Juanma Barranquero <lekktu@gmail.com> | 7 | 2007-02-15 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 8 | ||
| 3 | * play/5x5.el (5x5-crack-xor-mutate): Doc fix. | 9 | * play/5x5.el (5x5-crack-xor-mutate): Doc fix. |
| @@ -56,8 +62,8 @@ | |||
| 56 | 2007-02-12 Michael Albinus <michael.albinus@gmx.de> | 62 | 2007-02-12 Michael Albinus <michael.albinus@gmx.de> |
| 57 | 63 | ||
| 58 | * net/tramp.el (tramp-get-ls-command, tramp-get-file-exists-command) | 64 | * net/tramp.el (tramp-get-ls-command, tramp-get-file-exists-command) |
| 59 | (tramp-get-remote-ln): Handle error case. Reported by Chris Moore | 65 | (tramp-get-remote-ln): Handle error case. |
| 60 | <dooglus@gmail.com>. | 66 | Reported by Chris Moore <dooglus@gmail.com>. |
| 61 | 67 | ||
| 62 | 2007-02-11 Kim F. Storm <storm@cua.dk> | 68 | 2007-02-11 Kim F. Storm <storm@cua.dk> |
| 63 | 69 | ||
| @@ -101,8 +107,8 @@ | |||
| 101 | 107 | ||
| 102 | 2007-02-10 Eli Zaretskii <eliz@gnu.org> | 108 | 2007-02-10 Eli Zaretskii <eliz@gnu.org> |
| 103 | 109 | ||
| 104 | * info-look.el (info-lookup-make-completions): Bind | 110 | * info-look.el (info-lookup-make-completions): |
| 105 | Info-fontify-maximum-menu-size to nil to speed up lookup of | 111 | Bind Info-fontify-maximum-menu-size to nil to speed up lookup of |
| 106 | index nodes. | 112 | index nodes. |
| 107 | 113 | ||
| 108 | * info.el (Info-fontify-maximum-menu-size): Document the effect | 114 | * info.el (Info-fontify-maximum-menu-size): Document the effect |
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 69ba694340b..62008ac295b 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el | |||
| @@ -1090,7 +1090,10 @@ Put first the functions more likely to cause a change and cheaper to compute.") | |||
| 1090 | (goto-char font-lock-beg) | 1090 | (goto-char font-lock-beg) |
| 1091 | (unless (bolp) (setq changed t font-lock-beg (line-beginning-position))) | 1091 | (unless (bolp) (setq changed t font-lock-beg (line-beginning-position))) |
| 1092 | (goto-char font-lock-end) | 1092 | (goto-char font-lock-end) |
| 1093 | (unless (bolp) (setq changed t font-lock-end (line-beginning-position 2))) | 1093 | (unless (bolp) |
| 1094 | (unless (eq font-lock-end | ||
| 1095 | (setq font-lock-end (line-beginning-position 2))) | ||
| 1096 | (setq changed t))) | ||
| 1094 | changed)) | 1097 | changed)) |
| 1095 | 1098 | ||
| 1096 | (defun font-lock-default-fontify-region (beg end loudly) | 1099 | (defun font-lock-default-fontify-region (beg end loudly) |