emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/customize.texi


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lispref/customize.texi
Date: Sun, 24 Mar 2002 19:43:11 -0500

Index: emacs/lispref/customize.texi
diff -c emacs/lispref/customize.texi:1.24 emacs/lispref/customize.texi:1.25
*** emacs/lispref/customize.texi:1.24   Sat Feb 23 05:55:47 2002
--- emacs/lispref/customize.texi        Sun Mar 24 19:43:10 2002
***************
*** 943,962 ****
  the third argument is the event leading to the change, if any.
  
  @item :menu-tag
! Tag used in the menu when the widget is used as an option in a
  @code{menu-choice} widget.
  
  @item :menu-tag-get
! Function used for finding the tag when the widget is used as an option
  in a @code{menu-choice} widget.  By default, the tag used will be either the
  @code{:menu-tag} or @code{:tag} property if present, or the @code{princ}
  representation of the @code{:value} property if not.
  
  @item :validate
! A function which takes a widget as an argument, and return nil if the
! widgets current value is valid for the widget.  Otherwise, it should
! return the widget containing the invalid data, and set that widgets
! @code{:error} property to a string explaining the error.
  
  You can use the function @code{widget-children-validate} for this job;
  it tests that all children of @var{widget} are valid.
--- 943,962 ----
  the third argument is the event leading to the change, if any.
  
  @item :menu-tag
! A tag used in the menu when the widget is used as an option in a
  @code{menu-choice} widget.
  
  @item :menu-tag-get
! A function used for finding the tag when the widget is used as an option
  in a @code{menu-choice} widget.  By default, the tag used will be either the
  @code{:menu-tag} or @code{:tag} property if present, or the @code{princ}
  representation of the @code{:value} property if not.
  
  @item :validate
! A function which takes a widget as an argument, and return @code{nil}
! if the widget's current value is valid for the widget.  Otherwise, it
! should return the widget containing the invalid data, and set that
! widget's @code{:error} property to a string explaining the error.
  
  You can use the function @code{widget-children-validate} for this job;
  it tests that all children of @var{widget} are valid.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]