diff options
| author | Gerd Moellmann | 2000-09-19 11:03:14 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-09-19 11:03:14 +0000 |
| commit | afd3c8cd425c511dbc274f430c5c1488bc1b5c8b (patch) | |
| tree | 854a6ae7994ba13c938d74335ec7aaf03a5535e9 | |
| parent | 1af25534b33829f03d79d49b61341f59db2fbcd2 (diff) | |
| download | emacs-afd3c8cd425c511dbc274f430c5c1488bc1b5c8b.tar.gz emacs-afd3c8cd425c511dbc274f430c5c1488bc1b5c8b.zip | |
(font-lock-mode): Change message telling the user
that ``the buffer is too big''.
| -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) |