From 36755dd923b77e9aa58d61e49a5188caa026397b Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 16 Jul 2001 11:52:56 +0000 Subject: [PATCH] (set-variable): Require 'cus-edit' instead of `wid-edit', so that the Custom widgets get defined. --- lisp/simple.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/simple.el b/lisp/simple.el index 4cde8642cf1..dec66469c10 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -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" -- 2.39.2