From bb125ff0bf3a9e695d0d686aa81ec57779329374 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 10 Feb 2003 21:56:49 +0000 Subject: [PATCH] (font-lock-defontify): Use restore-buffer-modified-p. --- lisp/font-core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/font-core.el b/lisp/font-core.el index c2c95bfe8a0..fb1fe943e03 100644 --- a/lisp/font-core.el +++ b/lisp/font-core.el @@ -230,7 +230,7 @@ this function onto `change-major-mode-hook'." (widen) (remove-list-of-text-properties (point-min) (point-max) '(font-lock-face))) - (set-buffer-modified-p modp))) + (restore-buffer-modified-p modp))) (defun font-lock-default-function (mode) ;; Turn on Font Lock mode. -- 2.39.5