]> code.delx.au - gnu-emacs/commitdiff
(set-variable): Require 'cus-edit' instead of
authorGerd Moellmann <gerd@gnu.org>
Mon, 16 Jul 2001 11:52:56 +0000 (11:52 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 16 Jul 2001 11:52:56 +0000 (11:52 +0000)
`wid-edit', so that the Custom widgets get defined.

lisp/simple.el

index 4cde8642cf144e0d883bac60151cde1943660431..dec66469c107e5641a523661170ade68216d9a31 100644 (file)
@@ -3530,7 +3530,7 @@ in the definition is used to check that VALUE is valid."
   (let ((type (get var 'custom-type)))
     (when type
       ;; Match with custom type.
-      (require 'wid-edit)
+      (require 'cus-edit)
       (setq type (widget-convert type))
       (unless (widget-apply type :match val)
        (error "Value `%S' does not match type %S of %S"