changeset 36462:914a713af75b

(save-buffer-state): Use inhibit-modification-hooks rather than (before|after)-change-functions.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 01 Mar 2001 17:48:57 +0000
parents a4fb0c9be609
children f9f347cd3ae7
files lisp/font-lock.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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))