2 Jun 22:07
custom-type fix for `mh-sortm-args'
From: John Paul Wallington <jpw <at> pobox.com>
Subject: custom-type fix for `mh-sortm-args'
Newsgroups: gmane.mail.mh-e.devel
Date: 2008-06-02 20:08:14 GMT
Subject: custom-type fix for `mh-sortm-args'
Newsgroups: gmane.mail.mh-e.devel
Date: 2008-06-02 20:08:14 GMT
How about this fix? I was originally going to suggest a choice of `string' or `nil', but then noticed that the documentation suggests a list of strings. AFAICT, either a string or a list of strings work. I think offering both a string and a list of strings as choices would be confusing. I suppose changing the type will cause the custom interface to whinge about a user's existing string value being of the wrong type though. 2008-06-02 John Paul Wallington <jpw <at> pobox.com> * mh-e.el (mh-sortm-args): Fix custom type. --- mh-e.el.~1.124.~ 2008-05-31 18:54:46.000000000 +0100 +++ mh-e.el 2008-06-02 21:04:09.000000000 +0100 @@ -1333,7 +1333,8 @@ specified in the MH profile. This option may be used to provide an alternate view. For example, \"'(\"-nolimit\" \"-textfield\" \"subject\")\" is a useful setting." - :type 'string + :type '(choice (const :tag "No arguments" nil) + (repeat :tag "Arguments" (string :tag "Argument"))) :group 'mh-folder :package-version '(MH-E . "8.0")) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

RSS Feed