diff options
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/font-lock.el | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9a59fdfeb6d..02250524116 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2000-09-19 Gerd Moellmann <gerd@gnu.org> | 1 | 2000-09-19 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * font-lock.el (font-lock-mode): Change message telling the user | ||
| 4 | that ``the buffer is too big''. | ||
| 5 | |||
| 3 | * dired.el (dired-font-lock-keywords): Allow tabs and spaces, | 6 | * dired.el (dired-font-lock-keywords): Allow tabs and spaces, |
| 4 | for instance for the case that tab-width is 2. | 7 | for instance for the case that tab-width is 2. |
| 5 | 8 | ||
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index e030cc9ca33..aa6c0524c51 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el | |||
| @@ -720,7 +720,8 @@ buffer local value for `font-lock-defaults', via its mode hook." | |||
| 720 | ((or (null max-size) (> max-size (buffer-size))) | 720 | ((or (null max-size) (> max-size (buffer-size))) |
| 721 | (font-lock-fontify-buffer)) | 721 | (font-lock-fontify-buffer)) |
| 722 | (font-lock-verbose | 722 | (font-lock-verbose |
| 723 | (message "Fontifying %s...buffer too big" (buffer-name)))))) | 723 | (message "Fontifying %s...buffer size greater than font-lock-maximum-size" |
| 724 | (buffer-name)))))) | ||
| 724 | ;; Turn off Font Lock mode. | 725 | ;; Turn off Font Lock mode. |
| 725 | (unless on-p | 726 | (unless on-p |
| 726 | (remove-hook 'after-change-functions 'font-lock-after-change-function t) | 727 | (remove-hook 'after-change-functions 'font-lock-after-change-function t) |