aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2013-05-08 21:40:20 -0400
committerGlenn Morris2013-05-08 21:40:20 -0400
commita931698afd53f13196535f57f7496caeb17e4f6c (patch)
tree611b863aa1b090ae41d6a41972702e04e1403d65
parente54eeb9bf08ed5920f5b302539f2d8ce97d909e8 (diff)
downloademacs-a931698afd53f13196535f57f7496caeb17e4f6c.tar.gz
emacs-a931698afd53f13196535f57f7496caeb17e4f6c.zip
Fix a bunch of custom types (thank you cus-test.el)
* lisp/bookmark.el (bookmark-search-delay): * lisp/cus-start.el (vertical-centering-font-regexp): * lisp/ps-mule.el (ps-mule-font-info-database-default): * lisp/ps-print.el (ps-default-fg, ps-default-bg): * lisp/type-break.el (type-break-good-break-interval): * lisp/whitespace.el (whitespace-indentation-regexp) (whitespace-space-after-tab-regexp): * lisp/emacs-lisp/testcover.el (testcover-1value-functions) (testcover-noreturn-functions, testcover-progn-functions) (testcover-prog1-functions): * lisp/emulation/viper-init.el (viper-emacs-state-cursor-color): * lisp/erc/erc-desktop-notifications.el (erc-notifications-icon): * lisp/eshell/em-glob.el (eshell-glob-translate-alist): * lisp/gnus/gnus-art.el (gnus-article-date-headers, gnus-blocked-images): * lisp/gnus/gnus-async.el (gnus-async-post-fetch-function): * lisp/gnus/gnus-gravatar.el (gnus-gravatar-size, gnus-gravatar-properties): * lisp/gnus/gnus-html.el (gnus-html-image-cache-ttl): * lisp/gnus/gnus-notifications.el (gnus-notifications-timeout): * lisp/gnus/gnus-picon.el (gnus-picon-properties): * lisp/gnus/gnus-util.el (gnus-completion-styles): * lisp/gnus/gnus.el (gnus-other-frame-resume-function): * lisp/gnus/message.el (message-user-organization-file) (message-cite-reply-position): * lisp/gnus/nnir.el (nnir-summary-line-format) (nnir-retrieve-headers-override-function): * lisp/gnus/shr-color.el (shr-color-visible-luminance-min): * lisp/gnus/shr.el (shr-blocked-images): * lisp/gnus/spam-report.el (spam-report-resend-to): * lisp/gnus/spam.el (spam-summary-exit-behavior): * lisp/mh-e/mh-e.el (mh-sortm-args, mh-default-folder-for-message-function): * lisp/play/tetris.el (tetris-tty-colors): * lisp/progmodes/cpp.el (cpp-face-default-list): * lisp/progmodes/flymake.el (flymake-allowed-file-name-masks): * lisp/progmodes/idlw-help.el (idlwave-help-browser-generic-program) (idlwave-help-browser-generic-args): * lisp/progmodes/make-mode.el (makefile-special-targets-list): * lisp/progmodes/python.el (python-shell-virtualenv-path): * lisp/progmodes/verilog-mode.el (verilog-active-low-regexp) (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp) (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp) (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp): * lisp/textmodes/reftex-vars.el (reftex-format-label-function): * lisp/textmodes/remember.el (remember-diary-file): Fix custom types. * lisp/cedet/semantic/db-find.el (semanticdb-find-throttle-custom-list): Fix value. * lisp/gnus/gnus-salt.el (gnus-selected-tree-face): Fix default.
-rw-r--r--lisp/ChangeLog26
-rw-r--r--lisp/bookmark.el2
-rw-r--r--lisp/cedet/ChangeLog5
-rw-r--r--lisp/cedet/semantic/db-find.el12
-rw-r--r--lisp/cus-start.el4
-rw-r--r--lisp/emacs-lisp/testcover.el8
-rw-r--r--lisp/emulation/viper-init.el2
-rw-r--r--lisp/erc/ChangeLog5
-rw-r--r--lisp/erc/erc-desktop-notifications.el2
-rw-r--r--lisp/eshell/em-glob.el3
-rw-r--r--lisp/gnus/ChangeLog21
-rw-r--r--lisp/gnus/gnus-art.el20
-rw-r--r--lisp/gnus/gnus-async.el2
-rw-r--r--lisp/gnus/gnus-gravatar.el4
-rw-r--r--lisp/gnus/gnus-html.el5
-rw-r--r--lisp/gnus/gnus-notifications.el3
-rw-r--r--lisp/gnus/gnus-picon.el2
-rw-r--r--lisp/gnus/gnus-salt.el2
-rw-r--r--lisp/gnus/gnus-util.el2
-rw-r--r--lisp/gnus/gnus.el1
-rw-r--r--lisp/gnus/message.el8
-rw-r--r--lisp/gnus/nnir.el4
-rw-r--r--lisp/gnus/shr-color.el2
-rw-r--r--lisp/gnus/shr.el2
-rw-r--r--lisp/gnus/spam-report.el2
-rw-r--r--lisp/gnus/spam.el12
-rw-r--r--lisp/mh-e/ChangeLog5
-rw-r--r--lisp/mh-e/mh-e.el4
-rw-r--r--lisp/play/tetris.el21
-rw-r--r--lisp/progmodes/cpp.el7
-rw-r--r--lisp/progmodes/flymake.el19
-rw-r--r--lisp/progmodes/idlw-help.el7
-rw-r--r--lisp/progmodes/make-mode.el2
-rw-r--r--lisp/progmodes/python.el2
-rw-r--r--lisp/progmodes/verilog-mode.el14
-rw-r--r--lisp/ps-mule.el27
-rw-r--r--lisp/ps-print.el10
-rw-r--r--lisp/textmodes/reftex-vars.el2
-rw-r--r--lisp/textmodes/remember.el2
-rw-r--r--lisp/type-break.el2
-rw-r--r--lisp/whitespace.el7
41 files changed, 200 insertions, 92 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d5d2c80d61d..a84e83f05dc 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,31 @@
12013-05-09 Glenn Morris <rgm@gnu.org> 12013-05-09 Glenn Morris <rgm@gnu.org>
2 2
3 * bookmark.el (bookmark-search-delay):
4 * cus-start.el (vertical-centering-font-regexp):
5 * ps-mule.el (ps-mule-font-info-database-default):
6 * ps-print.el (ps-default-fg, ps-default-bg):
7 * type-break.el (type-break-good-break-interval):
8 * whitespace.el (whitespace-indentation-regexp)
9 (whitespace-space-after-tab-regexp):
10 * emacs-lisp/testcover.el (testcover-1value-functions)
11 (testcover-noreturn-functions, testcover-progn-functions)
12 (testcover-prog1-functions):
13 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14 * eshell/em-glob.el (eshell-glob-translate-alist):
15 * play/tetris.el (tetris-tty-colors):
16 * progmodes/cpp.el (cpp-face-default-list):
17 * progmodes/flymake.el (flymake-allowed-file-name-masks):
18 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
19 (idlwave-help-browser-generic-args):
20 * progmodes/make-mode.el (makefile-special-targets-list):
21 * progmodes/python.el (python-shell-virtualenv-path):
22 * progmodes/verilog-mode.el (verilog-active-low-regexp)
23 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
24 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
25 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
26 * textmodes/reftex-vars.el (reftex-format-label-function):
27 * textmodes/remember.el (remember-diary-file): Fix custom types.
28
3 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo. 29 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
4 Add :version. 30 Add :version.
5 31
diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index 482cdf92752..cab81c3b135 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -170,7 +170,7 @@ A non-nil value may result in truncated bookmark names."
170(defcustom bookmark-search-delay 0.2 170(defcustom bookmark-search-delay 0.2
171 "Time before `bookmark-bmenu-search' updates the display." 171 "Time before `bookmark-bmenu-search' updates the display."
172 :group 'bookmark 172 :group 'bookmark
173 :type 'integer) 173 :type 'number)
174 174
175(defface bookmark-menu-heading 175(defface bookmark-menu-heading
176 '((t (:inherit font-lock-type-face))) 176 '((t (:inherit font-lock-type-face)))
diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog
index 944a9e1a02a..901e1c5057e 100644
--- a/lisp/cedet/ChangeLog
+++ b/lisp/cedet/ChangeLog
@@ -1,3 +1,8 @@
12013-05-09 Glenn Morris <rgm@gnu.org>
2
3 * semantic/db-find.el (semanticdb-find-throttle-custom-list):
4 Fix value.
5
12013-04-27 David Engster <deng@randomsample.de> 62013-04-27 David Engster <deng@randomsample.de>
2 7
3 * semantic/complete.el 8 * semantic/complete.el
diff --git a/lisp/cedet/semantic/db-find.el b/lisp/cedet/semantic/db-find.el
index 2e4ca319a9d..91b1e34b690 100644
--- a/lisp/cedet/semantic/db-find.el
+++ b/lisp/cedet/semantic/db-find.el
@@ -130,12 +130,12 @@
130(declare-function ede-current-project "ede") 130(declare-function ede-current-project "ede")
131 131
132(defvar semanticdb-find-throttle-custom-list 132(defvar semanticdb-find-throttle-custom-list
133 '(repeat (radio (const 'local) 133 '(set (const local)
134 (const 'project) 134 (const project)
135 (const 'unloaded) 135 (const unloaded)
136 (const 'system) 136 (const system)
137 (const 'recursive) 137 (const recursive)
138 (const 'omniscience))) 138 (const omniscience))
139 "Customization values for semanticdb find throttle. 139 "Customization values for semanticdb find throttle.
140See `semanticdb-find-throttle' for details.") 140See `semanticdb-find-throttle' for details.")
141 141
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index 2e442b6c944..43d71ceec95 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -252,7 +252,9 @@ Leaving \"Default\" unchecked is equivalent with specifying a default of
252 (use-file-dialog menu boolean "22.1") 252 (use-file-dialog menu boolean "22.1")
253 (focus-follows-mouse frames boolean "20.3") 253 (focus-follows-mouse frames boolean "20.3")
254 ;; fontset.c 254 ;; fontset.c
255 (vertical-centering-font-regexp display regexp) 255 ;; FIXME nil is the initial value, fontset.el setqs it.
256 (vertical-centering-font-regexp display
257 (choice (const nil) regexp))
256 ;; frame.c 258 ;; frame.c
257 (default-frame-alist frames 259 (default-frame-alist frames
258 (repeat (cons :format "%v" 260 (repeat (cons :format "%v"
diff --git a/lisp/emacs-lisp/testcover.el b/lisp/emacs-lisp/testcover.el
index f6bd26e9f34..33bb1e3a732 100644
--- a/lisp/emacs-lisp/testcover.el
+++ b/lisp/emacs-lisp/testcover.el
@@ -100,14 +100,14 @@ current global map. The macro `lambda' is self-evaluating, hence always
100returns the same value (the function it defines may return varying values 100returns the same value (the function it defines may return varying values
101when called)." 101when called)."
102 :group 'testcover 102 :group 'testcover
103 :type 'hook) 103 :type '(repeat symbol))
104 104
105(defcustom testcover-noreturn-functions 105(defcustom testcover-noreturn-functions
106 '(error noreturn throw signal) 106 '(error noreturn throw signal)
107 "Subset of `testcover-1value-functions' -- these never return. We mark 107 "Subset of `testcover-1value-functions' -- these never return. We mark
108them as having returned nil just before calling them." 108them as having returned nil just before calling them."
109 :group 'testcover 109 :group 'testcover
110 :type 'hook) 110 :type '(repeat symbol))
111 111
112(defcustom testcover-compose-functions 112(defcustom testcover-compose-functions
113 '(+ - * / = append length list make-keymap make-sparse-keymap 113 '(+ - * / = append length list make-keymap make-sparse-keymap
@@ -132,7 +132,7 @@ brown splotch is shown for these if the last argument is a constant or a
132call to one of the `testcover-1value-functions'. This list is probably 132call to one of the `testcover-1value-functions'. This list is probably
133incomplete!" 133incomplete!"
134 :group 'testcover 134 :group 'testcover
135 :type 'hook) 135 :type '(repeat symbol))
136 136
137(defcustom testcover-prog1-functions 137(defcustom testcover-prog1-functions
138 '(prog1 unwind-protect) 138 '(prog1 unwind-protect)
@@ -140,7 +140,7 @@ incomplete!"
140brown splotch is shown for these if the first argument is a constant or a 140brown splotch is shown for these if the first argument is a constant or a
141call to one of the `testcover-1value-functions'." 141call to one of the `testcover-1value-functions'."
142 :group 'testcover 142 :group 'testcover
143 :type 'hook) 143 :type '(repeat symbol))
144 144
145(defcustom testcover-potentially-1value-functions 145(defcustom testcover-potentially-1value-functions
146 '(add-hook and beep or remove-hook unless when) 146 '(add-hook and beep or remove-hook unless when)
diff --git a/lisp/emulation/viper-init.el b/lisp/emulation/viper-init.el
index 28a830a0def..76d4632f8c0 100644
--- a/lisp/emulation/viper-init.el
+++ b/lisp/emulation/viper-init.el
@@ -424,7 +424,7 @@ delete the text being replaced, as in standard Vi."
424;; (defcustom viper-emacs-state-cursor-color "Magenta" 424;; (defcustom viper-emacs-state-cursor-color "Magenta"
425(defcustom viper-emacs-state-cursor-color nil 425(defcustom viper-emacs-state-cursor-color nil
426 "Cursor color when Viper is in Emacs state." 426 "Cursor color when Viper is in Emacs state."
427 :type 'string 427 :type '(choice (const nil) string)
428 :group 'viper) 428 :group 'viper)
429 429
430;; internal var, used to remember the default cursor color of emacs frames 430;; internal var, used to remember the default cursor color of emacs frames
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog
index f3d54782897..f2c1dbe2367 100644
--- a/lisp/erc/ChangeLog
+++ b/lisp/erc/ChangeLog
@@ -1,3 +1,8 @@
12013-05-09 Glenn Morris <rgm@gnu.org>
2
3 * erc-desktop-notifications.el (erc-notifications-icon):
4 Fix custom type.
5
12013-02-13 Aidan Gauland <aidalgol@no8wireless.co.nz> 62013-02-13 Aidan Gauland <aidalgol@no8wireless.co.nz>
2 7
3 * erc-match.el (erc-match-message): Fix last commit. 8 * erc-match.el (erc-match-message): Fix last commit.
diff --git a/lisp/erc/erc-desktop-notifications.el b/lisp/erc/erc-desktop-notifications.el
index 2cff817b34c..ac6c202b18a 100644
--- a/lisp/erc/erc-desktop-notifications.el
+++ b/lisp/erc/erc-desktop-notifications.el
@@ -44,7 +44,7 @@
44(defcustom erc-notifications-icon nil 44(defcustom erc-notifications-icon nil
45 "Icon to use for notification." 45 "Icon to use for notification."
46 :group 'erc-notifications 46 :group 'erc-notifications
47 :type 'file) 47 :type '(choice (const :tag "No icon" nil) file))
48 48
49(defun erc-notifications-notify (nick msg) 49(defun erc-notifications-notify (nick msg)
50 "Notify that NICK send some MSG. 50 "Notify that NICK send some MSG.
diff --git a/lisp/eshell/em-glob.el b/lisp/eshell/em-glob.el
index 5a21f463f0b..866412d252b 100644
--- a/lisp/eshell/em-glob.el
+++ b/lisp/eshell/em-glob.el
@@ -119,7 +119,8 @@ This option slows down recursive glob processing by quite a bit."
119 "*" "+")) (+ pos 2)) 119 "*" "+")) (+ pos 2))
120 (cons "*" (1+ pos)))))) 120 (cons "*" (1+ pos))))))
121 "An alist for translation of extended globbing characters." 121 "An alist for translation of extended globbing characters."
122 :type '(repeat (cons character (choice regexp function))) 122 :type '(alist :key-type character
123 :value-type (choice string function))
123 :group 'eshell-glob) 124 :group 'eshell-glob)
124 125
125;;; Functions: 126;;; Functions:
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 6a2e83f30e0..ede6435789c 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,24 @@
12013-05-09 Glenn Morris <rgm@gnu.org>
2
3 * gnus-art.el (gnus-article-date-headers, gnus-blocked-images):
4 * gnus-async.el (gnus-async-post-fetch-function):
5 * gnus-gravatar.el (gnus-gravatar-size, gnus-gravatar-properties):
6 * gnus-html.el (gnus-html-image-cache-ttl):
7 * gnus-notifications.el (gnus-notifications-timeout):
8 * gnus-picon.el (gnus-picon-properties):
9 * gnus-util.el (gnus-completion-styles):
10 * gnus.el (gnus-other-frame-resume-function):
11 * message.el (message-user-organization-file)
12 (message-cite-reply-position):
13 * nnir.el (nnir-summary-line-format)
14 (nnir-retrieve-headers-override-function):
15 * shr-color.el (shr-color-visible-luminance-min):
16 * shr.el (shr-blocked-images):
17 * spam-report.el (spam-report-resend-to):
18 * spam.el (spam-summary-exit-behavior): Fix custom types.
19
20 * gnus-salt.el (gnus-selected-tree-face): Fix default.
21
12013-05-07 Katsumi Yamaoka <yamaoka@jpl.org> 222013-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
2 23
3 * gnus-art.el (gnus-article-describe-bindings): Require help-mode 24 * gnus-art.el (gnus-article-describe-bindings): Require help-mode
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 402a06145cb..23603bc7722 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -1032,15 +1032,15 @@ Some of these headers are updated automatically. See
1032`gnus-article-update-date-headers' for details." 1032`gnus-article-update-date-headers' for details."
1033 :version "24.1" 1033 :version "24.1"
1034 :group 'gnus-article-headers 1034 :group 'gnus-article-headers
1035 :type '(repeat 1035 :type '(set
1036 (item :tag "Universal time (UT)" :value 'ut) 1036 (const :tag "Universal time (UT)" ut)
1037 (item :tag "Local time zone" :value 'local) 1037 (const :tag "Local time zone" local)
1038 (item :tag "Readable English" :value 'english) 1038 (const :tag "Readable English" english)
1039 (item :tag "Elapsed time" :value 'lapsed) 1039 (const :tag "Elapsed time" lapsed)
1040 (item :tag "Original and elapsed time" :value 'combined-lapsed) 1040 (const :tag "Original and elapsed time" combined-lapsed)
1041 (item :tag "Original date header" :value 'original) 1041 (const :tag "Original date header" original)
1042 (item :tag "ISO8601 format" :value 'iso8601) 1042 (const :tag "ISO8601 format" iso8601)
1043 (item :tag "User-defined" :value 'user-defined))) 1043 (const :tag "User-defined" user-defined)))
1044 1044
1045(defcustom gnus-article-update-date-headers nil 1045(defcustom gnus-article-update-date-headers nil
1046 "A number that says how often to update the date header (in seconds). 1046 "A number that says how often to update the date header (in seconds).
@@ -1651,7 +1651,7 @@ called with the group name as the parameter, and should return a
1651regexp." 1651regexp."
1652 :version "24.1" 1652 :version "24.1"
1653 :group 'gnus-art 1653 :group 'gnus-art
1654 :type 'regexp) 1654 :type '(choice regexp function))
1655 1655
1656;;; Internal variables 1656;;; Internal variables
1657 1657
diff --git a/lisp/gnus/gnus-async.el b/lisp/gnus/gnus-async.el
index c5d64332547..d0afd1aa932 100644
--- a/lisp/gnus/gnus-async.el
+++ b/lisp/gnus/gnus-async.el
@@ -76,7 +76,7 @@ The function will be called narrowed to the region of the article
76that was fetched." 76that was fetched."
77 :version "24.1" 77 :version "24.1"
78 :group 'gnus-asynchronous 78 :group 'gnus-asynchronous
79 :type 'function) 79 :type '(choice (const nil) function))
80 80
81;;; Internal variables. 81;;; Internal variables.
82 82
diff --git a/lisp/gnus/gnus-gravatar.el b/lisp/gnus/gnus-gravatar.el
index 8b9c49a998c..33bcb6b1598 100644
--- a/lisp/gnus/gnus-gravatar.el
+++ b/lisp/gnus/gnus-gravatar.el
@@ -35,13 +35,13 @@
35(defcustom gnus-gravatar-size nil 35(defcustom gnus-gravatar-size nil
36 "How big should gravatars be displayed. 36 "How big should gravatars be displayed.
37If nil, default to `gravatar-size'." 37If nil, default to `gravatar-size'."
38 :type 'integer 38 :type '(choice (const nil) integer)
39 :version "24.1" 39 :version "24.1"
40 :group 'gnus-gravatar) 40 :group 'gnus-gravatar)
41 41
42(defcustom gnus-gravatar-properties '(:ascent center :relief 1) 42(defcustom gnus-gravatar-properties '(:ascent center :relief 1)
43 "List of image properties applied to Gravatar images." 43 "List of image properties applied to Gravatar images."
44 :type 'list 44 :type 'sexp
45 :version "24.1" 45 :version "24.1"
46 :group 'gnus-gravatar) 46 :group 'gnus-gravatar)
47 47
diff --git a/lisp/gnus/gnus-html.el b/lisp/gnus/gnus-html.el
index bdf03a16587..a5625dfed80 100644
--- a/lisp/gnus/gnus-html.el
+++ b/lisp/gnus/gnus-html.el
@@ -45,7 +45,10 @@
45 "Time used to determine if we should use images from the cache." 45 "Time used to determine if we should use images from the cache."
46 :version "24.1" 46 :version "24.1"
47 :group 'gnus-art 47 :group 'gnus-art
48 :type 'integer) 48 ;; FIXME hardly the friendliest type. The allowed value is actually
49 ;; any time value, but we are assuming no-one cares about USEC and
50 ;; PSEC here. It would be better to eg make it a number of minutes.
51 :type '(list integer integer))
49 52
50(defcustom gnus-html-image-automatic-caching t 53(defcustom gnus-html-image-automatic-caching t
51 "Whether automatically cache retrieve images." 54 "Whether automatically cache retrieve images."
diff --git a/lisp/gnus/gnus-notifications.el b/lisp/gnus/gnus-notifications.el
index 224b59b0512..f29bdb7b05c 100644
--- a/lisp/gnus/gnus-notifications.el
+++ b/lisp/gnus/gnus-notifications.el
@@ -64,7 +64,8 @@ not get notifications."
64 64
65(defcustom gnus-notifications-timeout nil 65(defcustom gnus-notifications-timeout nil
66 "Timeout used for notifications sent via `notifications-notify'." 66 "Timeout used for notifications sent via `notifications-notify'."
67 :type 'integer 67 :type '(choice (const :tag "Server default" nil)
68 (integer :tag "Milliseconds"))
68 :group 'gnus-notifications) 69 :group 'gnus-notifications)
69 70
70(defvar gnus-notifications-sent nil 71(defvar gnus-notifications-sent nil
diff --git a/lisp/gnus/gnus-picon.el b/lisp/gnus/gnus-picon.el
index 4f28f8ebc01..5402982b965 100644
--- a/lisp/gnus/gnus-picon.el
+++ b/lisp/gnus/gnus-picon.el
@@ -77,7 +77,7 @@ Some people may want to add \"unknown\" to this list."
77 77
78(defcustom gnus-picon-properties '(:color-symbols (("None" . "white"))) 78(defcustom gnus-picon-properties '(:color-symbols (("None" . "white")))
79 "List of image properties applied to picons." 79 "List of image properties applied to picons."
80 :type 'list 80 :type 'sexp
81 :version "24.3" 81 :version "24.3"
82 :group 'gnus-picon) 82 :group 'gnus-picon)
83 83
diff --git a/lisp/gnus/gnus-salt.el b/lisp/gnus/gnus-salt.el
index 48b51d2c95d..6b8e105e6b8 100644
--- a/lisp/gnus/gnus-salt.el
+++ b/lisp/gnus/gnus-salt.el
@@ -385,7 +385,7 @@ lines."
385 integer) 385 integer)
386 :group 'gnus-summary-tree) 386 :group 'gnus-summary-tree)
387 387
388(defcustom gnus-selected-tree-face 'modeline 388(defcustom gnus-selected-tree-face 'mode-line
389 "*Face used for highlighting selected articles in the thread tree." 389 "*Face used for highlighting selected articles in the thread tree."
390 :type 'face 390 :type 'face
391 :group 'gnus-summary-tree) 391 :group 'gnus-summary-tree)
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el
index a121c27b547..6e2c586dc4b 100644
--- a/lisp/gnus/gnus-util.el
+++ b/lisp/gnus/gnus-util.el
@@ -68,7 +68,7 @@
68 "Value of `completion-styles' to use when completing." 68 "Value of `completion-styles' to use when completing."
69 :version "24.1" 69 :version "24.1"
70 :group 'gnus-meta 70 :group 'gnus-meta
71 :type 'list) 71 :type '(repeat symbol))
72 72
73;; Fixme: this should be a gnus variable, not nnmail-. 73;; Fixme: this should be a gnus variable, not nnmail-.
74(defvar nnmail-pathname-coding-system) 74(defvar nnmail-pathname-coding-system)
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el
index f6c1327c78c..fd6ebf338fa 100644
--- a/lisp/gnus/gnus.el
+++ b/lisp/gnus/gnus.el
@@ -2507,6 +2507,7 @@ Disabling the agent may result in noticeable loss of performance."
2507 :version "24.4" 2507 :version "24.4"
2508 :group 'gnus-start 2508 :group 'gnus-start
2509 :type '(choice (function-item gnus) 2509 :type '(choice (function-item gnus)
2510 (function-item gnus-group-get-new-news)
2510 (function-item gnus-no-server) 2511 (function-item gnus-no-server)
2511 (function-item gnus-slave) 2512 (function-item gnus-slave)
2512 (function-item gnus-slave-no-server))) 2513 (function-item gnus-slave-no-server)))
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index a6638097b47..501a2e6f832 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -527,7 +527,7 @@ If t, use `message-user-organization-file'."
527 (setq orgfile f))) 527 (setq orgfile f)))
528 orgfile) 528 orgfile)
529 "*Local news organization file." 529 "*Local news organization file."
530 :type 'file 530 :type '(choice (const nil) file)
531 :link '(custom-manual "(message)News Headers") 531 :link '(custom-manual "(message)News Headers")
532 :group 'message-headers) 532 :group 'message-headers)
533 533
@@ -1098,9 +1098,9 @@ e.g. using `gnus-posting-styles':
1098 1098
1099 (eval (set (make-local-variable 'message-cite-reply-position) 'above))" 1099 (eval (set (make-local-variable 'message-cite-reply-position) 'above))"
1100 :version "24.1" 1100 :version "24.1"
1101 :type '(choice (const :tag "Reply inline" 'traditional) 1101 :type '(choice (const :tag "Reply inline" traditional)
1102 (const :tag "Reply above" 'above) 1102 (const :tag "Reply above" above)
1103 (const :tag "Reply below" 'below)) 1103 (const :tag "Reply below" below))
1104 :group 'message-insertion) 1104 :group 'message-insertion)
1105 1105
1106(defcustom message-cite-style nil 1106(defcustom message-cite-style nil
diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el
index 21f81dc664c..120149ae0fb 100644
--- a/lisp/gnus/nnir.el
+++ b/lisp/gnus/nnir.el
@@ -326,7 +326,7 @@ with three items unique to nnir summary buffers:
326 326
327If nil this will use `gnus-summary-line-format'." 327If nil this will use `gnus-summary-line-format'."
328 :version "24.1" 328 :version "24.1"
329 :type '(string) 329 :type '(choice (const :tag "gnus-summary-line-format" nil) string)
330 :group 'nnir) 330 :group 'nnir)
331 331
332(defcustom nnir-retrieve-headers-override-function nil 332(defcustom nnir-retrieve-headers-override-function nil
@@ -338,7 +338,7 @@ retrieved header format.
338If this variable is nil, or if the provided function returns nil for a search 338If this variable is nil, or if the provided function returns nil for a search
339result, `gnus-retrieve-headers' will be called instead." 339result, `gnus-retrieve-headers' will be called instead."
340 :version "24.1" 340 :version "24.1"
341 :type '(function) 341 :type '(choice (const :tag "gnus-retrieve-headers" nil) function)
342 :group 'nnir) 342 :group 'nnir)
343 343
344(defcustom nnir-imap-default-search-key "whole message" 344(defcustom nnir-imap-default-search-key "whole message"
diff --git a/lisp/gnus/shr-color.el b/lisp/gnus/shr-color.el
index 91b2cf79a1e..0b320a21ad9 100644
--- a/lisp/gnus/shr-color.el
+++ b/lisp/gnus/shr-color.el
@@ -37,7 +37,7 @@
37 "Minimum luminance distance between two colors to be considered visible. 37 "Minimum luminance distance between two colors to be considered visible.
38Must be between 0 and 100." 38Must be between 0 and 100."
39 :group 'shr 39 :group 'shr
40 :type 'float) 40 :type 'number)
41 41
42(defcustom shr-color-visible-distance-min 5 42(defcustom shr-color-visible-distance-min 5
43 "Minimum color distance between two colors to be considered visible. 43 "Minimum color distance between two colors to be considered visible.
diff --git a/lisp/gnus/shr.el b/lisp/gnus/shr.el
index 293ba2445e9..5c1b99e7707 100644
--- a/lisp/gnus/shr.el
+++ b/lisp/gnus/shr.el
@@ -52,7 +52,7 @@ fit these criteria."
52 "Images that have URLs matching this regexp will be blocked." 52 "Images that have URLs matching this regexp will be blocked."
53 :version "24.1" 53 :version "24.1"
54 :group 'shr 54 :group 'shr
55 :type 'regexp) 55 :type '(choice (const nil) regexp))
56 56
57(defcustom shr-table-horizontal-line ?\s 57(defcustom shr-table-horizontal-line ?\s
58 "Character used to draw horizontal table lines." 58 "Character used to draw horizontal table lines."
diff --git a/lisp/gnus/spam-report.el b/lisp/gnus/spam-report.el
index 06aae2906ca..24e1ca7bdab 100644
--- a/lisp/gnus/spam-report.el
+++ b/lisp/gnus/spam-report.el
@@ -81,7 +81,7 @@ The function must accept the arguments `host' and `report'."
81 "Email address that spam articles are resent to when reporting. 81 "Email address that spam articles are resent to when reporting.
82If not set, the user will be prompted to enter a value which will be 82If not set, the user will be prompted to enter a value which will be
83saved for future use." 83saved for future use."
84 :type 'string 84 :type '(choice (const :tag "Prompt" nil) string)
85 :group 'spam-report) 85 :group 'spam-report)
86 86
87(defvar spam-report-url-ping-temp-agent-function nil 87(defvar spam-report-url-ping-temp-agent-function nil
diff --git a/lisp/gnus/spam.el b/lisp/gnus/spam.el
index 063ba28d6eb..725017ca116 100644
--- a/lisp/gnus/spam.el
+++ b/lisp/gnus/spam.el
@@ -94,14 +94,14 @@ Note that setting the `spam-use-move' or `spam-use-copy' backends on
94a group through group/topic parameters overrides this mechanism." 94a group through group/topic parameters overrides this mechanism."
95 :type '(choice 95 :type '(choice
96 (const 96 (const
97 'default 97 :tag "Move spam out of all groups and ham out of spam groups"
98 :tag "Move spam out of all groups and ham out of spam groups.") 98 default)
99 (const 99 (const
100 'move-all 100 :tag "Move spam out of all groups and ham out of all groups"
101 :tag "Move spam out of all groups and ham out of all groups.") 101 move-all)
102 (const 102 (const
103 'move-none 103 :tag "Never move spam or ham out of any groups"
104 :tag "Never move spam or ham out of any groups.")) 104 move-none))
105 :group 'spam) 105 :group 'spam)
106 106
107(defcustom spam-directory (nnheader-concat gnus-directory "spam/") 107(defcustom spam-directory (nnheader-concat gnus-directory "spam/")
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index 87e0bf18703..f256e3841e4 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,8 @@
12013-05-09 Glenn Morris <rgm@gnu.org>
2
3 * mh-e.el (mh-sortm-args, mh-default-folder-for-message-function):
4 Fix custom types.
5
12013-05-08 Stefan Monnier <monnier@iro.umontreal.ca> 62013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * mh-comp.el (mh-regexp-in-field-p): Minor simplification. 8 * mh-comp.el (mh-regexp-in-field-p): Minor simplification.
diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el
index 6ed033b8fa8..303d817dede 100644
--- a/lisp/mh-e/mh-e.el
+++ b/lisp/mh-e/mh-e.el
@@ -1354,7 +1354,7 @@ This option is consulted when a prefix argument is used with
1354specified in the MH profile. This option may be used to provide 1354specified in the MH profile. This option may be used to provide
1355an alternate view. For example, \"'(\"-nolimit\" \"-textfield\" 1355an alternate view. For example, \"'(\"-nolimit\" \"-textfield\"
1356\"subject\")\" is a useful setting." 1356\"subject\")\" is a useful setting."
1357 :type 'string 1357 :type '(repeat string)
1358 :group 'mh-folder 1358 :group 'mh-folder
1359 :package-version '(MH-E . "8.0")) 1359 :package-version '(MH-E . "8.0"))
1360 1360
@@ -1368,7 +1368,7 @@ being refiled and point is at the start of the message. This function
1368should return the default folder as a string with a leading \"+\" 1368should return the default folder as a string with a leading \"+\"
1369sign. It can also return nil so that the last folder name is used as 1369sign. It can also return nil so that the last folder name is used as
1370the default, or an empty string to suppress the default entirely." 1370the default, or an empty string to suppress the default entirely."
1371 :type 'function 1371 :type '(choice (const nil) function)
1372 :group 'mh-folder-selection 1372 :group 'mh-folder-selection
1373 :package-version '(MH-E . "8.0")) 1373 :package-version '(MH-E . "8.0"))
1374 1374
diff --git a/lisp/play/tetris.el b/lisp/play/tetris.el
index dd33d067246..19fa8f38a70 100644
--- a/lisp/play/tetris.el
+++ b/lisp/play/tetris.el
@@ -77,20 +77,13 @@ If the return value is a number, it is used as the timer period."
77 ["blue" "white" "yellow" "magenta" "cyan" "green" "red"] 77 ["blue" "white" "yellow" "magenta" "cyan" "green" "red"]
78 "Vector of colors of the various shapes in text mode." 78 "Vector of colors of the various shapes in text mode."
79 :group 'tetris 79 :group 'tetris
80 :type (let ((names `("Shape 1" "Shape 2" "Shape 3" 80 :type '(vector (color :tag "Shape 1")
81 "Shape 4" "Shape 5" "Shape 6" "Shape 7")) 81 (color :tag "Shape 2")
82 (result nil)) 82 (color :tag "Shape 3")
83 (while names 83 (color :tag "Shape 4")
84 (add-to-list 'result 84 (color :tag "Shape 5")
85 (cons 'choice 85 (color :tag "Shape 6")
86 (cons :tag 86 (color :tag "Shape 7")))
87 (cons (car names)
88 (mapcar (lambda (color)
89 (list 'const color))
90 (defined-colors)))))
91 t)
92 (setq names (cdr names)))
93 result))
94 87
95(defcustom tetris-x-colors 88(defcustom tetris-x-colors
96 [[0 0 1] [0.7 0 1] [1 1 0] [1 0 1] [0 1 1] [0 1 0] [1 0 0]] 89 [[0 0 1] [0.7 0 1] [1 1 0] [1 0 1] [0 1 1] [0 1 0] [1 0 0]]
diff --git a/lisp/progmodes/cpp.el b/lisp/progmodes/cpp.el
index 674d98b8dc3..d332d8bff31 100644
--- a/lisp/progmodes/cpp.el
+++ b/lisp/progmodes/cpp.el
@@ -136,13 +136,18 @@ Each entry is a list with the following elements:
136 ("true" . t) 136 ("true" . t)
137 ("both" . both))) 137 ("both" . both)))
138 138
139;; FIXME Gets clobbered by cpp-choose-face, so why is even it a defcustom?
139(defcustom cpp-face-default-list nil 140(defcustom cpp-face-default-list nil
140 "Alist of faces you can choose from for cpp conditionals. 141 "Alist of faces you can choose from for cpp conditionals.
141Each element has the form (STRING . FACE), where STRING 142Each element has the form (STRING . FACE), where STRING
142serves as a name (for `cpp-highlight-buffer' only) 143serves as a name (for `cpp-highlight-buffer' only)
143and FACE is either a face (a symbol) 144and FACE is either a face (a symbol)
144or a cons cell (background-color . COLOR)." 145or a cons cell (background-color . COLOR)."
145 :type '(repeat (cons string (choice face (cons (const background-color) string)))) 146 :type '(alist :key-type (string :tag "Name")
147 :value-type (choice face
148 (const invisible)
149 (cons (const background-color)
150 (string :tag "Color"))))
146 :group 'cpp) 151 :group 'cpp)
147 152
148(defcustom cpp-face-light-name-list 153(defcustom cpp-face-light-name-list
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 0f92df95a9d..0eb59bd06c3 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -279,9 +279,24 @@ are the string substitutions (see `format')."
279 ;; ("[ \t]*\\input[ \t]*{\\(.*\\)\\(%s\\)}" 1 2 )) 279 ;; ("[ \t]*\\input[ \t]*{\\(.*\\)\\(%s\\)}" 1 2 ))
280 ;; ("\\.tex\\'" 1) 280 ;; ("\\.tex\\'" 1)
281 ) 281 )
282 "Files syntax checking is allowed for." 282 "Files syntax checking is allowed for.
283This is an alist with elements of the form:
284 REGEXP INIT [CLEANUP [NAME]]
285REGEXP is a regular expression that matches a file name.
286INIT is the init function to use.
287CLEANUP is the cleanup function to use, default `flymake-simple-cleanup'.
288NAME is the file name function to use, default `flymake-get-real-file-name'."
283 :group 'flymake 289 :group 'flymake
284 :type '(repeat (string symbol symbol symbol))) 290 :type '(alist :key-type (regexp :tag "File regexp")
291 :value-type
292 (list :tag "Handler functions"
293 (function :tag "Init function")
294 (choice :tag "Cleanup function"
295 (const :tag "flymake-simple-cleanup" nil)
296 function)
297 (choice :tag "Name function"
298 (const :tag "flymake-get-real-file-name" nil)
299 function))))
285 300
286(defun flymake-get-file-name-mode-and-masks (file-name) 301(defun flymake-get-file-name-mode-and-masks (file-name)
287 "Return the corresponding entry from `flymake-allowed-file-name-masks'." 302 "Return the corresponding entry from `flymake-allowed-file-name-masks'."
diff --git a/lisp/progmodes/idlw-help.el b/lisp/progmodes/idlw-help.el
index 749b0b65576..b46b16aa87e 100644
--- a/lisp/progmodes/idlw-help.el
+++ b/lisp/progmodes/idlw-help.el
@@ -90,16 +90,15 @@ Defaults to `browse-url-browser-function', which see."
90(defcustom idlwave-help-browser-generic-program browse-url-generic-program 90(defcustom idlwave-help-browser-generic-program browse-url-generic-program
91 "Program to run if using `browse-url-generic-program'." 91 "Program to run if using `browse-url-generic-program'."
92 :group 'idlwave-online-help 92 :group 'idlwave-online-help
93 :type 'string) 93 :type '(choice (const nil) string))
94
95(defvar browse-url-generic-args)
96 94
95;; AFAICS, never used since it was introduced in 2004.
97(defcustom idlwave-help-browser-generic-args 96(defcustom idlwave-help-browser-generic-args
98 (if (boundp 'browse-url-generic-args) 97 (if (boundp 'browse-url-generic-args)
99 browse-url-generic-args "") 98 browse-url-generic-args "")
100 "Program args to use if using `browse-url-generic-program'." 99 "Program args to use if using `browse-url-generic-program'."
101 :group 'idlwave-online-help 100 :group 'idlwave-online-help
102 :type 'string) 101 :type '(repeat string))
103 102
104(defcustom idlwave-help-browser-is-local nil 103(defcustom idlwave-help-browser-is-local nil
105 "Whether the browser will display locally in an Emacs window. 104 "Whether the browser will display locally in an Emacs window.
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index 20673866bc4..3069c790e1c 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -241,7 +241,7 @@ to MODIFY A FILE WITHOUT YOUR CONFIRMATION when \"it seems necessary\"."
241 "List of special targets. 241 "List of special targets.
242You will be offered to complete on one of those in the minibuffer whenever 242You will be offered to complete on one of those in the minibuffer whenever
243you enter a \".\" at the beginning of a line in `makefile-mode'." 243you enter a \".\" at the beginning of a line in `makefile-mode'."
244 :type '(repeat (list string)) 244 :type '(repeat string)
245 :group 'makefile) 245 :group 'makefile)
246(put 'makefile-special-targets-list 'risky-local-variable t) 246(put 'makefile-special-targets-list 'risky-local-variable t)
247 247
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 2165c835057..641563ae0ab 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1681,7 +1681,7 @@ This variable, when set to a string, makes the values stored in
1681`python-shell-process-environment' and `python-shell-exec-path' 1681`python-shell-process-environment' and `python-shell-exec-path'
1682to be modified properly so shells are started with the specified 1682to be modified properly so shells are started with the specified
1683virtualenv." 1683virtualenv."
1684 :type 'string 1684 :type '(choice (const nil) string)
1685 :group 'python 1685 :group 'python
1686 :safe 'stringp) 1686 :safe 'stringp)
1687 1687
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el
index 60a2cf55f31..b36c6d02753 100644
--- a/lisp/progmodes/verilog-mode.el
+++ b/lisp/progmodes/verilog-mode.el
@@ -964,7 +964,7 @@ See also `verilog-library-flags', `verilog-library-directories'."
964This is used for AUTORESET and AUTOTIEOFF. For proper behavior, 964This is used for AUTORESET and AUTOTIEOFF. For proper behavior,
965you will probably also need `verilog-auto-reset-widths' set." 965you will probably also need `verilog-auto-reset-widths' set."
966 :group 'verilog-mode-auto 966 :group 'verilog-mode-auto
967 :type 'string) 967 :type '(choice (const nil) regexp))
968(put 'verilog-active-low-regexp 'safe-local-variable 'stringp) 968(put 'verilog-active-low-regexp 'safe-local-variable 'stringp)
969 969
970(defcustom verilog-auto-sense-include-inputs nil 970(defcustom verilog-auto-sense-include-inputs nil
@@ -1138,21 +1138,21 @@ won't merge conflict."
1138 "If set, when creating AUTOINPUT list, ignore signals matching this regexp. 1138 "If set, when creating AUTOINPUT list, ignore signals matching this regexp.
1139See the \\[verilog-faq] for examples on using this." 1139See the \\[verilog-faq] for examples on using this."
1140 :group 'verilog-mode-auto 1140 :group 'verilog-mode-auto
1141 :type 'string) 1141 :type '(choice (const nil) regexp))
1142(put 'verilog-auto-input-ignore-regexp 'safe-local-variable 'stringp) 1142(put 'verilog-auto-input-ignore-regexp 'safe-local-variable 'stringp)
1143 1143
1144(defcustom verilog-auto-inout-ignore-regexp nil 1144(defcustom verilog-auto-inout-ignore-regexp nil
1145 "If set, when creating AUTOINOUT list, ignore signals matching this regexp. 1145 "If set, when creating AUTOINOUT list, ignore signals matching this regexp.
1146See the \\[verilog-faq] for examples on using this." 1146See the \\[verilog-faq] for examples on using this."
1147 :group 'verilog-mode-auto 1147 :group 'verilog-mode-auto
1148 :type 'string) 1148 :type '(choice (const nil) regexp))
1149(put 'verilog-auto-inout-ignore-regexp 'safe-local-variable 'stringp) 1149(put 'verilog-auto-inout-ignore-regexp 'safe-local-variable 'stringp)
1150 1150
1151(defcustom verilog-auto-output-ignore-regexp nil 1151(defcustom verilog-auto-output-ignore-regexp nil
1152 "If set, when creating AUTOOUTPUT list, ignore signals matching this regexp. 1152 "If set, when creating AUTOOUTPUT list, ignore signals matching this regexp.
1153See the \\[verilog-faq] for examples on using this." 1153See the \\[verilog-faq] for examples on using this."
1154 :group 'verilog-mode-auto 1154 :group 'verilog-mode-auto
1155 :type 'string) 1155 :type '(choice (const nil) regexp))
1156(put 'verilog-auto-output-ignore-regexp 'safe-local-variable 'stringp) 1156(put 'verilog-auto-output-ignore-regexp 'safe-local-variable 'stringp)
1157 1157
1158(defcustom verilog-auto-template-warn-unused nil 1158(defcustom verilog-auto-template-warn-unused nil
@@ -1176,21 +1176,21 @@ assignment, else the data type for variable creation."
1176 "If set, when creating AUTOTIEOFF list, ignore signals matching this regexp. 1176 "If set, when creating AUTOTIEOFF list, ignore signals matching this regexp.
1177See the \\[verilog-faq] for examples on using this." 1177See the \\[verilog-faq] for examples on using this."
1178 :group 'verilog-mode-auto 1178 :group 'verilog-mode-auto
1179 :type 'string) 1179 :type '(choice (const nil) regexp))
1180(put 'verilog-auto-tieoff-ignore-regexp 'safe-local-variable 'stringp) 1180(put 'verilog-auto-tieoff-ignore-regexp 'safe-local-variable 'stringp)
1181 1181
1182(defcustom verilog-auto-unused-ignore-regexp nil 1182(defcustom verilog-auto-unused-ignore-regexp nil
1183 "If set, when creating AUTOUNUSED list, ignore signals matching this regexp. 1183 "If set, when creating AUTOUNUSED list, ignore signals matching this regexp.
1184See the \\[verilog-faq] for examples on using this." 1184See the \\[verilog-faq] for examples on using this."
1185 :group 'verilog-mode-auto 1185 :group 'verilog-mode-auto
1186 :type 'string) 1186 :type '(choice (const nil) regexp))
1187(put 'verilog-auto-unused-ignore-regexp 'safe-local-variable 'stringp) 1187(put 'verilog-auto-unused-ignore-regexp 'safe-local-variable 'stringp)
1188 1188
1189(defcustom verilog-typedef-regexp nil 1189(defcustom verilog-typedef-regexp nil
1190 "If non-nil, regular expression that matches Verilog-2001 typedef names. 1190 "If non-nil, regular expression that matches Verilog-2001 typedef names.
1191For example, \"_t$\" matches typedefs named with _t, as in the C language." 1191For example, \"_t$\" matches typedefs named with _t, as in the C language."
1192 :group 'verilog-mode-auto 1192 :group 'verilog-mode-auto
1193 :type 'string) 1193 :type '(choice (const nil) regexp))
1194(put 'verilog-typedef-regexp 'safe-local-variable 'stringp) 1194(put 'verilog-typedef-regexp 'safe-local-variable 'stringp)
1195 1195
1196(defcustom verilog-mode-hook 'verilog-set-compile-command 1196(defcustom verilog-mode-hook 'verilog-set-compile-command
diff --git a/lisp/ps-mule.el b/lisp/ps-mule.el
index 4da5d1db244..059261ac0ac 100644
--- a/lisp/ps-mule.el
+++ b/lisp/ps-mule.el
@@ -188,7 +188,32 @@ See also the variable `ps-font-info-database'.")
188(defcustom ps-mule-font-info-database-default 188(defcustom ps-mule-font-info-database-default
189 ps-mule-font-info-database-latin 189 ps-mule-font-info-database-latin
190 "The default setting to use when `ps-multibyte-buffer' is nil." 190 "The default setting to use when `ps-multibyte-buffer' is nil."
191 :type '(symbol :tag "Multi-Byte Buffer Database Font Default") 191 :type '(alist :key-type symbol :tag "Charset"
192 :value-type
193 (list (list
194 (choice :tag "Font type"
195 (const normal)
196 (const bold)
197 (const italic)
198 (const bold-italic))
199 (choice :tag "Font source"
200 (const builtin)
201 (const bdf)
202 (const vflib)
203 (const nil))
204 ;; My guess as to what the doc is trying to say...
205 (choice :tag "Font name"
206 (const nil)
207 string
208 (repeat :tag "List" string))
209 (choice :tag "Encoding"
210 (const nil)
211 coding-system
212 function)
213 (choice :tag "Bytes"
214 (const nil)
215 (const 1)
216 (const 2)))))
192 :group 'ps-print-font) 217 :group 'ps-print-font)
193 218
194(defconst ps-mule-font-info-database-ps 219(defconst ps-mule-font-info-database-ps
diff --git a/lisp/ps-print.el b/lisp/ps-print.el
index f7c03c2de85..b5961064cb4 100644
--- a/lisp/ps-print.el
+++ b/lisp/ps-print.el
@@ -3017,7 +3017,6 @@ Any other value is ignored and black color will be used.
3017This variable is used only when `ps-print-color-p' (which see) is neither nil 3017This variable is used only when `ps-print-color-p' (which see) is neither nil
3018nor black-white." 3018nor black-white."
3019 :type '(choice :menu-tag "Default Foreground Gray/Color" 3019 :type '(choice :menu-tag "Default Foreground Gray/Color"
3020 :tag "Default Foreground Gray/Color"
3021 (const :tag "Session Foreground" t) 3020 (const :tag "Session Foreground" t)
3022 (const :tag "Frame Foreground" frame-parameter) 3021 (const :tag "Frame Foreground" frame-parameter)
3023 (number :tag "Gray Scale" :value 0.0) 3022 (number :tag "Gray Scale" :value 0.0)
@@ -3025,7 +3024,8 @@ nor black-white."
3025 (list :tag "RGB Color" :value (0.0 0.0 0.0) 3024 (list :tag "RGB Color" :value (0.0 0.0 0.0)
3026 (number :tag "Red") 3025 (number :tag "Red")
3027 (number :tag "Green") 3026 (number :tag "Green")
3028 (number :tag "Blue"))) 3027 (number :tag "Blue"))
3028 (other :tag "Default Foreground Gray/Color" nil))
3029 :version "20" 3029 :version "20"
3030 :group 'ps-print-color) 3030 :group 'ps-print-color)
3031 3031
@@ -3063,7 +3063,6 @@ nor black-white.
3063 3063
3064See also `ps-use-face-background'." 3064See also `ps-use-face-background'."
3065 :type '(choice :menu-tag "Default Background Gray/Color" 3065 :type '(choice :menu-tag "Default Background Gray/Color"
3066 :tag "Default Background Gray/Color"
3067 (const :tag "Session Background" t) 3066 (const :tag "Session Background" t)
3068 (const :tag "Frame Background" frame-parameter) 3067 (const :tag "Frame Background" frame-parameter)
3069 (number :tag "Gray Scale" :value 1.0) 3068 (number :tag "Gray Scale" :value 1.0)
@@ -3071,7 +3070,8 @@ See also `ps-use-face-background'."
3071 (list :tag "RGB Color" :value (1.0 1.0 1.0) 3070 (list :tag "RGB Color" :value (1.0 1.0 1.0)
3072 (number :tag "Red") 3071 (number :tag "Red")
3073 (number :tag "Green") 3072 (number :tag "Green")
3074 (number :tag "Blue"))) 3073 (number :tag "Blue"))
3074 (other :tag "Default Background Gray/Color" nil))
3075 :version "20" 3075 :version "20"
3076 :group 'ps-print-color) 3076 :group 'ps-print-color)
3077 3077
@@ -6658,7 +6658,7 @@ If FACE is not a valid face name, use default face."
6658;; But autoload them here to make the separation invisible. 6658;; But autoload them here to make the separation invisible.
6659 6659
6660;;;### (autoloads (ps-mule-end-job ps-mule-begin-job ps-mule-initialize 6660;;;### (autoloads (ps-mule-end-job ps-mule-begin-job ps-mule-initialize
6661;;;;;; ps-multibyte-buffer) "ps-mule" "ps-mule.el" "1f436e4d78c7dc983a503dac18298515") 6661;;;;;; ps-multibyte-buffer) "ps-mule" "ps-mule.el" "b39f881d3a029049994ef6aa3de93c89")
6662;;; Generated autoloads from ps-mule.el 6662;;; Generated autoloads from ps-mule.el
6663 6663
6664(defvar ps-multibyte-buffer nil "\ 6664(defvar ps-multibyte-buffer nil "\
diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el
index a68a27bb07e..47bec5e7218 100644
--- a/lisp/textmodes/reftex-vars.el
+++ b/lisp/textmodes/reftex-vars.el
@@ -932,7 +932,7 @@ The function will be called with two arguments, the LABEL and the DEFAULT
932FORMAT, which usually is `\\label{%s}'. The function should return the 932FORMAT, which usually is `\\label{%s}'. The function should return the
933string to insert into the buffer." 933string to insert into the buffer."
934 :group 'reftex-making-and-inserting-labels 934 :group 'reftex-making-and-inserting-labels
935 :type 'function) 935 :type '(choice (const nil) function))
936 936
937;; Label referencing 937;; Label referencing
938 938
diff --git a/lisp/textmodes/remember.el b/lisp/textmodes/remember.el
index c8bafd8176a..5782f25e48d 100644
--- a/lisp/textmodes/remember.el
+++ b/lisp/textmodes/remember.el
@@ -481,7 +481,7 @@ Most useful for remembering things from other applications."
481(defcustom remember-diary-file nil 481(defcustom remember-diary-file nil
482 "File for extracted diary entries. 482 "File for extracted diary entries.
483If this is nil, then `diary-file' will be used instead." 483If this is nil, then `diary-file' will be used instead."
484 :type 'file 484 :type '(choice (const :tag "diary-file" nil) file)
485 :group 'remember) 485 :group 'remember)
486 486
487(defun remember-diary-convert-entry (entry) 487(defun remember-diary-convert-entry (entry)
diff --git a/lisp/type-break.el b/lisp/type-break.el
index 3ddf2e2d20a..e4fa02f9fe6 100644
--- a/lisp/type-break.el
+++ b/lisp/type-break.el
@@ -95,7 +95,7 @@ When this variable is non-nil, its value is considered to be a \"good\"
95length (in seconds) for a break initiated by the command `type-break', 95length (in seconds) for a break initiated by the command `type-break',
96overriding `type-break-good-rest-interval'. This provides querying of 96overriding `type-break-good-rest-interval'. This provides querying of
97break interruptions when `type-break-good-rest-interval' is nil." 97break interruptions when `type-break-good-rest-interval' is nil."
98 :type 'integer 98 :type '(choice (const nil) integer)
99 :group 'type-break) 99 :group 'type-break)
100 100
101(defcustom type-break-keystroke-threshold 101(defcustom type-break-keystroke-threshold
diff --git a/lisp/whitespace.el b/lisp/whitespace.el
index 68625e06acb..801cdc52047 100644
--- a/lisp/whitespace.el
+++ b/lisp/whitespace.el
@@ -803,8 +803,8 @@ and the cons cdr is used for TABs visualization.
803 803
804Used when `whitespace-style' includes `indentation', 804Used when `whitespace-style' includes `indentation',
805`indentation::tab' or `indentation::space'." 805`indentation::tab' or `indentation::space'."
806 :type '(cons (regexp :tag "Indentation SPACEs") 806 :type '(cons (string :tag "Indentation SPACEs")
807 (regexp :tag "Indentation TABs")) 807 (string :tag "Indentation TABs"))
808 :group 'whitespace) 808 :group 'whitespace)
809 809
810 810
@@ -834,7 +834,8 @@ and the cons cdr is used for TABs visualization.
834 834
835Used when `whitespace-style' includes `space-after-tab', 835Used when `whitespace-style' includes `space-after-tab',
836`space-after-tab::tab' or `space-after-tab::space'." 836`space-after-tab::tab' or `space-after-tab::space'."
837 :type '(regexp :tag "SPACEs After TAB") 837 :type '(cons (string :tag "SPACEs After TAB")
838 string)
838 :group 'whitespace) 839 :group 'whitespace)
839 840
840 841