aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2001-04-24 15:19:16 +0000
committerRichard M. Stallman2001-04-24 15:19:16 +0000
commit75ba82a9fd68d023f90f703b7ada0662da2a915f (patch)
tree5519c31029299a29c77ce54e14b44e7609fc71ab
parent1e1e6d529c8e07ec4afa7c49ab3ffa2a6613fce7 (diff)
downloademacs-75ba82a9fd68d023f90f703b7ada0662da2a915f.tar.gz
emacs-75ba82a9fd68d023f90f703b7ada0662da2a915f.zip
widget-define => define-widget.
-rw-r--r--man/widget.texi8
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:
149@table @file 149@table @file
150@item widget.el 150@item widget.el
151This will declare the user variables, define the function 151This will declare the user variables, define the function
152@code{widget-define}, and autoload the function @code{widget-create}. 152@code{define-widget}, and autoload the function @code{widget-create}.
153@item wid-edit.el 153@item wid-edit.el
154Everything else is here, there is no reason to load it explicitly, as 154Everything else is here, there is no reason to load it explicitly, as
155it will be autoloaded when needed. 155it will be autoloaded when needed.
@@ -1480,12 +1480,12 @@ its ancestors have been deactivated. Do not attempt to set the
1480@cindex new widgets 1480@cindex new widgets
1481@cindex defining new widgets 1481@cindex defining new widgets
1482 1482
1483You can define specialized widgets with @code{widget-define}. It allows 1483You can define specialized widgets with @code{define-widget}. It allows
1484you to create a shorthand for more complex widgets, including specifying 1484you to create a shorthand for more complex widgets, including specifying
1485component widgets and new default values for the keyword 1485component widgets and new default values for the keyword
1486arguments. 1486arguments.
1487 1487
1488@defun widget-define name class doc &rest args 1488@defun define-widget name class doc &rest args
1489Define a new widget type named @var{name} from @code{class}. 1489Define a new widget type named @var{name} from @code{class}.
1490 1490
1491@var{name} and class should both be symbols, @code{class} should be one 1491@var{name} and class should both be symbols, @code{class} should be one
@@ -1510,7 +1510,7 @@ create identical widgets:
1510 1510
1511@end defun 1511@end defun
1512 1512
1513Using @code{widget-define} just stores the definition of the widget type 1513Using @code{define-widget} just stores the definition of the widget type
1514in the @code{widget-type} property of @var{name}, which is what 1514in the @code{widget-type} property of @var{name}, which is what
1515@code{widget-create} uses. 1515@code{widget-create} uses.
1516 1516