Commit 36755dd9 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(set-variable): Require 'cus-edit' instead of

`wid-edit', so that the Custom widgets get defined.
parent 6a05d05f
......@@ -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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment