diff lisp/cus-edit.el @ 32936:3b8c8450514e

(custom-mode-map): Use a sparse map. (custom-mode): Don't bother with make-local-hook.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 27 Oct 2000 00:55:09 +0000
parents 2109c5fb0c3f
children 42e118959715
line wrap: on
line diff
--- a/lisp/cus-edit.el	Fri Oct 27 00:54:52 2000 +0000
+++ b/lisp/cus-edit.el	Fri Oct 27 00:55:09 2000 +0000
@@ -3659,7 +3659,7 @@
   "Keymap for `custom-mode'.")
 
 (unless custom-mode-map
-  (setq custom-mode-map (make-sparse-keymap))
+  (setq custom-mode-map (make-keymap))
   (set-keymap-parent custom-mode-map widget-keymap)
   (suppress-keymap custom-mode-map)
   (define-key custom-mode-map " " 'scroll-up)
@@ -3753,7 +3753,6 @@
     (set (make-local-variable 'widget-push-button-suffix) "")
     (set (make-local-variable 'widget-link-prefix) "")
     (set (make-local-variable 'widget-link-suffix) ""))
-  (make-local-hook 'widget-edit-functions)
   (add-hook 'widget-edit-functions 'custom-state-buffer-message nil t)
   (run-hooks 'custom-mode-hook))