mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(set-variable): Require 'cus-edit' instead of
`wid-edit', so that the Custom widgets get defined.
This commit is contained in:
parent
6a05d05faf
commit
36755dd923
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue