# HG changeset patch
# User Stefan Monnier <monnier@iro.umontreal.ca>
# Date 983468937 0
# Node ID 914a713af75b0dc58325864708105c75ebdad1db
# Parent  a4fb0c9be6099378bd631b95846fc8379482d8fb
(save-buffer-state): Use inhibit-modification-hooks
rather than (before|after)-change-functions.

diff -r a4fb0c9be609 -r 914a713af75b lisp/font-lock.el
--- a/lisp/font-lock.el	Thu Mar 01 17:19:33 2001 +0000
+++ b/lisp/font-lock.el	Thu Mar 01 17:48:57 2001 +0000
@@ -672,7 +672,7 @@
     `(let* ,(append varlist
 		    '((modified (buffer-modified-p)) (buffer-undo-list t)
 		      (inhibit-read-only t) (inhibit-point-motion-hooks t)
-		      before-change-functions after-change-functions
+		      (inhibit-modification-hooks t)
 		      deactivate-mark buffer-file-name buffer-file-truename))
        ,@body
        (when (and (not modified) (buffer-modified-p))