* message.el (message-tab-body-function): Fixed mismatched custom
authorReiner Steib <Reiner.Steib@gmx.de>
Mon, 5 Sep 2005 16:16:39 +0000 (16:16 +0000)
committerReiner Steib <Reiner.Steib@gmx.de>
Mon, 5 Sep 2005 16:16:39 +0000 (16:16 +0000)
type.

* gnus.el (gnus-group-change-level-function): Ditto.

* gnus-msg.el (gnus-outgoing-message-group):  Ditto.

* gnus-art.el (gnus-signature-limit)
(gnus-article-mime-part-function): Ditto.

lisp/ChangeLog
lisp/gnus-art.el
lisp/gnus-msg.el
lisp/gnus.el
lisp/message.el

index aecf683..d17d921 100644 (file)
@@ -1,3 +1,15 @@
+2005-09-05  Reiner Steib  <Reiner.Steib@gmx.de>
+
+       * message.el (message-tab-body-function): Fixed mismatched custom
+       type.
+
+       * gnus.el (gnus-group-change-level-function): Ditto.
+
+       * gnus-msg.el (gnus-outgoing-message-group):  Ditto.
+
+       * gnus-art.el (gnus-signature-limit)
+       (gnus-article-mime-part-function): Ditto.
+
 2005-09-05  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * mml.el (mml-mode): Silence the byte compiler.
index 1640ae9..beb3406 100644 (file)
@@ -241,7 +241,8 @@ no signature in the buffer.  If it is a string, it will be used as a
 regexp.  If it matches, the text in question is not a signature.
 
 This can also be a list of the above values."
-  :type '(choice (integer :value 200)
+  :type '(choice (const nil)
+                (integer :value 200)
                 (number :value 4.0)
                 (function :value fun)
                 (regexp :value ".*"))
@@ -883,7 +884,8 @@ see http://www.cs.indiana.edu/picons/ftp/index.html"
 This is meant for people who want to do something automatic based
 on parts -- for instance, adding Vcard info to a database."
   :group 'gnus-article-mime
-  :type 'function)
+  :type '(choice (const nil)
+                function))
 
 (defcustom gnus-mime-multipart-functions nil
   "An alist of MIME types to functions to display them."
index 9e15159..43ce979 100644 (file)
@@ -67,8 +67,10 @@ message in, you can set this variable to a function that checks the
 current newsgroup name and then returns a suitable group name (or list
 of names)."
   :group 'gnus-message
-  :type '(choice (string :tag "Group")
-                (function)))
+  :type '(choice (const nil)
+                (function)
+                (string :tag "Group")
+                (repeat :tag "List of groups" (string :tag "Group"))))
 
 (defcustom gnus-mailing-list-groups nil
   "*If non-nil a regexp matching groups that are really mailing lists.
index a55abcc..44c86b3 100644 (file)
@@ -2387,7 +2387,8 @@ following hook:
   "Function run when a group level is changed.
 It is called with three parameters -- GROUP, LEVEL and OLDLEVEL."
   :group 'gnus-group-levels
-  :type 'function)
+  :type '(choice (const nil)
+                function))
 
 ;;; Face thingies.
 
index f2c8811..9eaf7d5 100644 (file)
@@ -6723,7 +6723,8 @@ If nil, the function bound in `text-mode-map' or `global-map' is executed."
   :version "22.1"
   :group 'message
   :link '(custom-manual "(message)Various Commands")
-  :type 'function)
+  :type '(choice (const nil)
+                function))
 
 (defun message-tab ()
   "Complete names according to `message-completion-alist'.