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

John Paul Wallington jpw at pobox.com
Fri Apr 25 22:06:40 EDT 2008


I saw this fix that was posted on comp.emacs.xemacs in December 2007.
It doesn't appear to have been applied yet.  It fixes a bug that I
introduced in 2002-01-16.  Mea culpa!

From: Alan <wehmann at fnal.gov>
Newsgroups: comp.emacs.xemacs
Subject: Fix to customization for 'Manual-switches' in 'man.el'
Date: Fri, 14 Dec 2007 23:49:50 -0800 (PST)
Message-ID: <1edd28c6-438e-4cd5-be3e-c819a7044da4 at o42g2000hsc.googlegroups.com>


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)

I found that this did not facilitate building a proper list for when I
wished to use the "-M path" switch for the "man" program--as invoked
by the function "manual-entry".

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)

allowed me to build the proper list

e.g. (list("-M" "path"))

for the variable "Manual-switches"

My version of XEmacs is

XEmacs 21.4 (patch 20) "Double Solitaire" [Lucid] (i586-pc-win32) of
Sat Dec 09 2006 on VSHELTON-PC2



More information about the XEmacs-Beta mailing list