diff options
author | Richard M. Stallman <rms@gnu.org> | 2001-04-24 15:19:16 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2001-04-24 15:19:16 +0000 |
commit | 93b0892f8776f4d9a205251b92ab82b464c753d0 (patch) | |
tree | 0d1fc52136bfeae84073a69c1b3788bb9c9a8c74 /man | |
parent | d1dcd6dc3249a60dc30f28ffc7a959cec1ba2628 (diff) | |
download | emacs-93b0892f8776f4d9a205251b92ab82b464c753d0.tar.gz |
widget-define => define-widget.
Diffstat (limited to 'man')
-rw-r--r-- | man/widget.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/man/widget.texi b/man/widget.texi index f320be9aade..96a97e89b11 100644 --- a/man/widget.texi +++ b/man/widget.texi @@ -149,7 +149,7 @@ create any widgets, the code has been split in two files: @table @file @item widget.el This will declare the user variables, define the function -@code{widget-define}, and autoload the function @code{widget-create}. +@code{define-widget}, and autoload the function @code{widget-create}. @item wid-edit.el Everything else is here, there is no reason to load it explicitly, as it will be autoloaded when needed. @@ -1480,12 +1480,12 @@ its ancestors have been deactivated. Do not attempt to set the @cindex new widgets @cindex defining new widgets -You can define specialized widgets with @code{widget-define}. It allows +You can define specialized widgets with @code{define-widget}. It allows you to create a shorthand for more complex widgets, including specifying component widgets and new default values for the keyword arguments. -@defun widget-define name class doc &rest args +@defun define-widget name class doc &rest args Define a new widget type named @var{name} from @code{class}. @var{name} and class should both be symbols, @code{class} should be one @@ -1510,7 +1510,7 @@ create identical widgets: @end defun -Using @code{widget-define} just stores the definition of the widget type +Using @code{define-widget} just stores the definition of the widget type in the @code{widget-type} property of @var{name}, which is what @code{widget-create} uses. |