]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix some custom types.
authorGlenn Morris <rgm@gnu.org>
Wed, 13 Jan 2016 01:32:20 +0000 (20:32 -0500)
committerGlenn Morris <rgm@gnu.org>
Wed, 13 Jan 2016 01:32:20 +0000 (20:32 -0500)
* lisp/gnus/gnus-fun.el (gnus-x-face-omit-files, gnus-face-omit-files):
* lisp/gnus/gnus.el (gnus-valid-select-methods):
* lisp/mail/rmail.el (rmail-get-coding-function):
* lisp/net/newst-treeview.el (newsticker-groups-filename):
* lisp/progmodes/hideif.el (hide-ifdef-exclude-define-regexp):
* lisp/textmodes/tildify.el (tildify-space-predicates):
* lisp/url/url-tramp.el (url-tramp-protocols):
Fix custom types.

lisp/gnus/gnus-fun.el
lisp/gnus/gnus.el
lisp/mail/rmail.el
lisp/net/newst-treeview.el
lisp/progmodes/hideif.el
lisp/textmodes/tildify.el
lisp/url/url-tramp.el

index fa78b5c6e1580ff9ba4104ae7466ff2d6984bce5..a6b2730023377d5690bfb405c76c4de062ce6255 100644 (file)
@@ -44,7 +44,7 @@
   "Regexp to match faces in `gnus-x-face-directory' to be omitted."
   :version "25.1"
   :group 'gnus-fun
-  :type 'string)
+  :type '(choice (const nil) string))
 
 (defcustom gnus-face-directory (expand-file-name "faces" gnus-directory)
   "*Directory where Face PNG files are stored."
@@ -56,7 +56,7 @@
   "Regexp to match faces in `gnus-face-directory' to be omitted."
   :version "25.1"
   :group 'gnus-fun
-  :type 'string)
+  :type '(choice (const nil) string))
 
 (defcustom gnus-convert-pbm-to-x-face-command "pbmtoxbm %s | compface"
   "Command for converting a PBM to an X-Face."
index 1196ea9dfec5416e6e6a0347123ce17507f52e21..5d2ce7ee19f0310a482cca1ace462df0c21f40c7 100644 (file)
@@ -1637,6 +1637,7 @@ this variable.  I think."
                                             (const post-mail))
                        (checklist :inline t :greedy t
                                   (const :format "%v " address)
+                                  (const cloud)
                                   (const global)
                                   (const :format "%v " prompt-address)
                                   (const :format "%v " physical-address)
index 9a03b0516dfbd37ef1c4f2a1567ce95ded3b38b7..390ca3fad52730bcfce82fa727ae80b36e823158 100644 (file)
@@ -692,8 +692,9 @@ Element N specifies the summary line for message N+1.")
 This is set to nil by default.")
 
 (defcustom rmail-get-coding-function nil
-  "Function of no args to try to determine coding system for a message."
-  :type 'function
+  "Function of no args to try to determine coding system for a message.
+If nil, just search for `rmail-mime-charset-pattern'."
+  :type '(choice (const nil) function)
   :group 'rmail
   :version "24.4")
 
index 0e75236154bd714c1f397f9ba073be6f7595856b..4de3d1d11254370119c3c898dbbc38ee49edaf05 100644 (file)
@@ -132,9 +132,9 @@ Example: (\"Topmost group\" \"feed1\" (\"subgroup1\" \"feed 2\")
 
 (defcustom newsticker-groups-filename
   nil
-  "Name of the newsticker groups settings file.  This variable is obsolete."
+  "Name of the newsticker groups settings file."
   :version "25.1"                       ; changed default value to nil
-  :type 'string
+  :type '(choice (const nil) string)
   :group 'newsticker-treeview)
 (make-obsolete-variable 'newsticker-groups-filename 'newsticker-dir "23.1")
 
index 43cf42c048b029daf3bca0efddd255c2320ec300..cc7d1c368c514f3dbc6aba4e37e45a79afd3ba75 100644 (file)
 
 (defcustom hide-ifdef-exclude-define-regexp nil
   "Ignore #define names if those names match this exclusion pattern."
-  :type 'string
+  :type '(choice (const nil) string)
   :version "25.1")
 
 (defcustom hide-ifdef-expand-reinclusion-protection t
index eb799c095102f41c9280bfdd64acfa29bf6f9cc4..598060e9ec817712aaa95f9dfb121f84159e1b31 100644 (file)
@@ -417,7 +417,7 @@ current `case-fold-search' setting."
   "A list of predicate functions for `tildify-space' function."
   :version "25.1"
   :group 'tildify
-  :type '(repeat 'function))
+  :type '(repeat function))
 
 (defcustom tildify-double-space-undos t
   "Weather `tildify-space' should undo hard space when space is typed again."
index 9e191579d47666ac123f814c6ef8a27bcc3dd9ed..192a0459f338428e71d7ddad816698c522856710 100644 (file)
 
 ;;;###autoload
 (defcustom url-tramp-protocols '("ftp" "ssh" "scp" "rsync" "telnet")
-  "List of URL protocols the work is handled by Tramp.
+  "List of URL protocols for which the work is handled by Tramp.
 They must also be covered by `url-handler-regexp'."
   :group 'url
   :version "25.1"
-  :type '(list string))
+  :type '(repeat string))
 
 (defun url-tramp-convert-url-to-tramp (url)
   "Convert URL to a Tramp file name."