[comp.emacs.xemacs] Fix to customization for 'Manual-switches' in 'man.el'

Stephen J. Turnbull stephen at xemacs.org
Sat Apr 26 14:36:48 EDT 2008


John Paul Wallington writes:

 > I saw this fix that was posted on comp.emacs.xemacs in December 2007.

 > In "man.el" there is the following customization of variable "Manual-
 > switches"
 > 
 > (defcustom Manual-switches nil
 >   "List of switches to the man program."
 >   :type '(choice (list (string :tag "switches"))
 > 		 (const :tag "none" nil))
 >   :group 'man)

 > Changing the customization to:
 > 
 > (defcustom Manual-switches nil
 >   "List of switches to the man program."
 >   :type '(choice (const :tag "none" nil)
 > 		 (repeat (string :tag "switch")))
 >   :group 'man)

The fix is obviously correct, and I will apply it shortly, but is
there a reason for putting the "none"/nil choice first?  I tend to
favor putting the "no customizations"/nil last.



More information about the XEmacs-Beta mailing list