diff options
| author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-07-05 19:32:37 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-07-05 19:33:24 +0200 |
| commit | 6d8638e5e494fb0ceafffe19bbf349fff643e12d (patch) | |
| tree | 5516261421fca0015b97667f9caaa4573fb68b33 /lisp/wid-edit.el | |
| parent | 99872bedf07315f642d143feaed9075a7ea20cba (diff) | |
| download | emacs-6d8638e5e494fb0ceafffe19bbf349fff643e12d.tar.gz | |
Give a warning if setopt has been used with an invalid value
* lisp/cus-edit.el (setopt--set): Mark the variable for checking.
* lisp/custom.el (custom-initialize-reset): Give a warning if the
type is wrong (bug#56400).
* lisp/wid-edit.el (widget-convert): Autoload.
Diffstat (limited to 'lisp/wid-edit.el')
| -rw-r--r-- | lisp/wid-edit.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index 29b6e13bc60..53626182470 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el @@ -880,6 +880,7 @@ The child is converted, using the keyword arguments ARGS." "Make a deep copy of WIDGET." (widget-apply (copy-sequence widget) :copy)) +;;;###autoload (defun widget-convert (type &rest args) "Convert TYPE to a widget without inserting it in the buffer. The optional ARGS are additional keyword arguments." |
