diff options
| author | Stefan Kangas | 2022-07-08 14:55:42 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-07-09 12:33:14 +0200 |
| commit | 76ca5f5eceda6c78f209588da0893bab5b42165c (patch) | |
| tree | 9d500d9138cfd42f0690430b15d624ccce84d309 /lisp/mh-e | |
| parent | 5f8922b9e26f8c0bf68bd72ff6804616a7134792 (diff) | |
| download | emacs-76ca5f5eceda6c78f209588da0893bab5b42165c.tar.gz emacs-76ca5f5eceda6c78f209588da0893bab5b42165c.zip | |
Delete obsolete variable font-lock-maximum-size
* lisp/font-lock.el (font-lock-maximum-size): Delete variable
obsolete since 24.1.
(font-lock-initial-fontify):
* lisp/mail/rmail.el (rmail-variables):
* lisp/mh-e/mh-mime.el (mh-small-show-buffer-p): Don't use above
deleted variable.
* lisp/font-core.el (font-lock-mode):
* lisp/font-lock.el:
* lisp/info.el: Don't mention above deleted variable.
Diffstat (limited to 'lisp/mh-e')
| -rw-r--r-- | lisp/mh-e/mh-mime.el | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lisp/mh-e/mh-mime.el b/lisp/mh-e/mh-mime.el index d2e07977e5d..144eb9b3f96 100644 --- a/lisp/mh-e/mh-mime.el +++ b/lisp/mh-e/mh-mime.el | |||
| @@ -1141,15 +1141,7 @@ this ;-)" | |||
| 1141 | "Check if show buffer is small. | 1141 | "Check if show buffer is small. |
| 1142 | This is used to decide if smileys and graphical emphasis should be | 1142 | This is used to decide if smileys and graphical emphasis should be |
| 1143 | displayed." | 1143 | displayed." |
| 1144 | (let ((max nil)) | 1144 | (>= 32000 (buffer-size))) |
| 1145 | ;; FIXME: font-lock-maximum-size is obsolete. | ||
| 1146 | (when (and (boundp 'font-lock-maximum-size) font-lock-maximum-size) | ||
| 1147 | (cond ((numberp font-lock-maximum-size) | ||
| 1148 | (setq max font-lock-maximum-size)) | ||
| 1149 | ((listp font-lock-maximum-size) | ||
| 1150 | (setq max (cdr (or (assoc 'mh-show-mode font-lock-maximum-size) | ||
| 1151 | (assoc t font-lock-maximum-size))))))) | ||
| 1152 | (or (not (numberp max)) (>= (/ max 8) (buffer-size))))) | ||
| 1153 | 1145 | ||
| 1154 | 1146 | ||
| 1155 | 1147 | ||