Mercurial > emacs
comparison lisp/font-core.el @ 49692:1713a3efdd23
(font-lock-defontify): Use restore-buffer-modified-p.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 10 Feb 2003 21:56:49 +0000 |
parents | 37645a051842 |
children | 7633f45262ae d7ddb3e565de |
comparison
equal
deleted
inserted
replaced
49691:0eed24634607 | 49692:1713a3efdd23 |
---|---|
228 (inhibit-read-only t)) | 228 (inhibit-read-only t)) |
229 (save-restriction | 229 (save-restriction |
230 (widen) | 230 (widen) |
231 (remove-list-of-text-properties (point-min) (point-max) | 231 (remove-list-of-text-properties (point-min) (point-max) |
232 '(font-lock-face))) | 232 '(font-lock-face))) |
233 (set-buffer-modified-p modp))) | 233 (restore-buffer-modified-p modp))) |
234 | 234 |
235 (defun font-lock-default-function (mode) | 235 (defun font-lock-default-function (mode) |
236 ;; Turn on Font Lock mode. | 236 ;; Turn on Font Lock mode. |
237 (when mode | 237 (when mode |
238 (font-lock-set-defaults) | 238 (font-lock-set-defaults) |