changeset 32935:85599a2dac71

(widget-add-change): Don't bother with make-local-hook.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 27 Oct 2000 00:54:52 +0000
parents fa11b28f7ce5
children 3b8c8450514e
files lisp/wid-edit.el
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/wid-edit.el	Thu Oct 26 22:08:47 2000 +0000
+++ b/lisp/wid-edit.el	Fri Oct 27 00:54:52 2000 +0000
@@ -1122,11 +1122,8 @@
 	     (widget-apply from-field :notify from-field))))))
 
 (defun widget-add-change ()
-  (make-local-hook 'post-command-hook)
   (remove-hook 'post-command-hook 'widget-add-change t)
-  (make-local-hook 'before-change-functions)
   (add-hook 'before-change-functions 'widget-before-change nil t)
-  (make-local-hook 'after-change-functions)
   (add-hook 'after-change-functions 'widget-after-change nil t))
 
 (defun widget-after-change (from to old)