diff options
| author | Mattias Engdegård | 2019-12-21 18:52:06 +0100 |
|---|---|---|
| committer | Mattias Engdegård | 2019-12-26 16:50:58 +0100 |
| commit | af085ef40b961ca3466e8b2dfb7f722573e5a4cc (patch) | |
| tree | 406b79cc7431083a76eeab312e18e1064641eec9 | |
| parent | c980d21ae11beb1eca1f3cb373cdddda8a580913 (diff) | |
| download | emacs-af085ef40b961ca3466e8b2dfb7f722573e5a4cc.tar.gz emacs-af085ef40b961ca3466e8b2dfb7f722573e5a4cc.zip | |
Use regexp type for regexps in defcustom declarations
* lisp/calendar/diary-lib.el (diary-face-attrs):
* lisp/cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-file-match):
* lisp/cedet/srecode/document.el
(srecode-document-autocomment-common-nouns-abbrevs)
(srecode-document-autocomment-function-alist)
(srecode-document-autocomment-return-first-alist)
(srecode-document-autocomment-return-last-alist)
(srecode-document-autocomment-param-alist)
(srecode-document-autocomment-param-type-alist):
* lisp/desktop.el (desktop-clear-preserve-buffers):
* lisp/elide-head.el (elide-head-headers-to-hide):
* lisp/erc/erc-backend.el (erc-encoding-coding-alist):
* lisp/erc/erc-ezbounce.el (erc-ezb-regexp):
* lisp/files.el (auto-save-file-name-transforms):
* lisp/gnus/deuglify.el (gnus-outlook-deuglify-attrib-cut-regexp)
(gnus-outlook-deuglify-attrib-verb-regexp)
(gnus-outlook-deuglify-attrib-end-regexp):
* lisp/gnus/gnus-fun.el (gnus-x-face-omit-files, gnus-face-omit-files):
* lisp/gnus/spam.el (spam-spamassassin-positive-spam-flag-header):
* lisp/htmlfontify.el (hfy-src-doc-link-unstyle):
* lisp/info-look.el (info-lookup-file-name-alist):
* lisp/international/rfc1843.el (rfc1843-newsgroups-regexp):
* lisp/mail/feedmail.el (feedmail-queue-slug-suspect-regexp):
* lisp/mail/rmail-spam-filter.el (rsf-white-list, rsf-definitions-alist):
* lisp/man.el (Man-name-local-regexp):
* lisp/net/ange-ftp.el (ange-ftp-dumb-unix-host-regexp):
* lisp/net/newst-backend.el (newsticker-auto-mark-filter-list):
* lisp/net/rcirc.el (rcirc-authinfo, rcirc-coding-system-alist):
* lisp/net/tramp-adb.el (tramp-adb-prompt):
* lisp/org/org-agenda.el (org-agenda-hide-tags-regexp)
(org-agenda-category-icon-alist):
* lisp/org/org-protocol.el (org-protocol-data-separator):
* lisp/org/org-table.el (org-table-number-regexp):
* lisp/org/ox-latex.el (org-latex-known-warnings):
* lisp/progmodes/bug-reference.el (bug-reference-bug-regexp):
* lisp/progmodes/hideif.el (hide-ifdef-header-regexp):
* lisp/progmodes/idlw-help.el (idlwave-help-doclib-name)
(idlwave-help-doclib-keyword):
* lisp/progmodes/idlwave.el (idlwave-no-change-comment):
* lisp/progmodes/python.el (python-shell-prompt-input-regexps)
(python-shell-prompt-output-regexps, python-shell-prompt-regexp)
(python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
(python-shell-prompt-pdb-regexp, python-shell-compilation-regexp-alist)
(python-pdbtrack-stacktrace-info-regexp):
* lisp/progmodes/sql.el (sql-send-terminator, sql-ansi-statement-starters):
* lisp/speedbar.el (speedbar-directory-unshown-regexp)
(speedbar-file-unshown-regexp):
* lisp/textmodes/flyspell.el (flyspell-mark-duplications-exceptions)
(flyspell-tex-command-regexp):
* lisp/textmodes/paragraphs.el (sentence-end-base):
* lisp/textmodes/tildify.el (tildify-pattern, tildify-space-pattern):
* lisp/vc/ediff-init.el (ediff-metachars):
* lisp/vc/vc-git.el (vc-git-root-log-format):
* lisp/vc/vc-hg.el (vc-hg-root-log-format):
* lisp/whitespace.el (whitespace-indentation-regexp)
(whitespace-space-after-tab-regexp):
* lisp/woman.el (woman-manpath-man-regexp)
(woman-imenu-generic-expression):
Use 'regexp' instead of 'string' as type for values that are regexps
in defcustom declarations.
40 files changed, 76 insertions, 76 deletions
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el index 25849627cdd..b20a4c907cf 100644 --- a/lisp/calendar/diary-lib.el +++ b/lisp/calendar/diary-lib.el | |||
| @@ -98,7 +98,7 @@ specifies which face attribute (e.g. `:foreground') to modify, or | |||
| 98 | that this is a face (`:face') to apply. TYPE is the type of | 98 | that this is a face (`:face') to apply. TYPE is the type of |
| 99 | attribute being applied. Available TYPES (see `diary-attrtype-convert') | 99 | attribute being applied. Available TYPES (see `diary-attrtype-convert') |
| 100 | are: `string', `symbol', `int', `tnil', `stringtnil'." | 100 | are: `string', `symbol', `int', `tnil', `stringtnil'." |
| 101 | :type '(repeat (list (string :tag "Regular expression") | 101 | :type '(repeat (list (regexp :tag "Regular expression") |
| 102 | (integer :tag "Sub-expression") | 102 | (integer :tag "Sub-expression") |
| 103 | (symbol :tag "Attribute (e.g. :foreground)") | 103 | (symbol :tag "Attribute (e.g. :foreground)") |
| 104 | (choice (const string :tag "A string") | 104 | (choice (const string :tag "A string") |
diff --git a/lisp/cedet/semantic/db-ebrowse.el b/lisp/cedet/semantic/db-ebrowse.el index 14ada88612b..958f6ed6401 100644 --- a/lisp/cedet/semantic/db-ebrowse.el +++ b/lisp/cedet/semantic/db-ebrowse.el | |||
| @@ -74,7 +74,7 @@ By default, include only headers since the semantic use of EBrowse | |||
| 74 | is only for searching via semanticdb, and thus only headers would | 74 | is only for searching via semanticdb, and thus only headers would |
| 75 | be searched." | 75 | be searched." |
| 76 | :group 'semanticdb | 76 | :group 'semanticdb |
| 77 | :type 'string) | 77 | :type 'regexp) |
| 78 | 78 | ||
| 79 | ;;; SEMANTIC Database related Code | 79 | ;;; SEMANTIC Database related Code |
| 80 | ;;; Classes: | 80 | ;;; Classes: |
diff --git a/lisp/cedet/srecode/document.el b/lisp/cedet/srecode/document.el index 21acc61fef2..df7bc0aa330 100644 --- a/lisp/cedet/srecode/document.el +++ b/lisp/cedet/srecode/document.el | |||
| @@ -89,7 +89,7 @@ versions of names. This is an alist with each element of the form: | |||
| 89 | MATCH is a regexp to match in the type field. | 89 | MATCH is a regexp to match in the type field. |
| 90 | RESULT is a string." | 90 | RESULT is a string." |
| 91 | :group 'document | 91 | :group 'document |
| 92 | :type '(repeat (cons (string :tag "Regexp") | 92 | :type '(repeat (cons (regexp :tag "Regexp") |
| 93 | (string :tag "Doc Text")))) | 93 | (string :tag "Doc Text")))) |
| 94 | 94 | ||
| 95 | (defcustom srecode-document-autocomment-function-alist | 95 | (defcustom srecode-document-autocomment-function-alist |
| @@ -145,7 +145,7 @@ see how best to describe what can be returned. | |||
| 145 | Doesn't always work correctly, but that is just because English | 145 | Doesn't always work correctly, but that is just because English |
| 146 | doesn't always work correctly." | 146 | doesn't always work correctly." |
| 147 | :group 'document | 147 | :group 'document |
| 148 | :type '(repeat (cons (string :tag "Regexp") | 148 | :type '(repeat (cons (regexp :tag "Regexp") |
| 149 | (string :tag "Doc Text")))) | 149 | (string :tag "Doc Text")))) |
| 150 | 150 | ||
| 151 | (defcustom srecode-document-autocomment-common-nouns-abbrevs | 151 | (defcustom srecode-document-autocomment-common-nouns-abbrevs |
| @@ -176,7 +176,7 @@ versions of names. This is an alist with each element of the form: | |||
| 176 | MATCH is a regexp to match in the type field. | 176 | MATCH is a regexp to match in the type field. |
| 177 | RESULT is a string." | 177 | RESULT is a string." |
| 178 | :group 'document | 178 | :group 'document |
| 179 | :type '(repeat (cons (string :tag "Regexp") | 179 | :type '(repeat (cons (regexp :tag "Regexp") |
| 180 | (string :tag "Doc Text")))) | 180 | (string :tag "Doc Text")))) |
| 181 | 181 | ||
| 182 | (defcustom srecode-document-autocomment-return-first-alist | 182 | (defcustom srecode-document-autocomment-return-first-alist |
| @@ -193,7 +193,7 @@ This is an alist with each element of the form: | |||
| 193 | MATCH is a regexp to match in the type field. | 193 | MATCH is a regexp to match in the type field. |
| 194 | RESULT is a string." | 194 | RESULT is a string." |
| 195 | :group 'document | 195 | :group 'document |
| 196 | :type '(repeat (cons (string :tag "Regexp") | 196 | :type '(repeat (cons (regexp :tag "Regexp") |
| 197 | (string :tag "Doc Text")))) | 197 | (string :tag "Doc Text")))) |
| 198 | 198 | ||
| 199 | (defcustom srecode-document-autocomment-return-last-alist | 199 | (defcustom srecode-document-autocomment-return-last-alist |
| @@ -214,7 +214,7 @@ MATCH is a regexp to match in the type field. | |||
| 214 | RESULT is a string, which can contain %s, which is replaced with | 214 | RESULT is a string, which can contain %s, which is replaced with |
| 215 | `match-string' 1." | 215 | `match-string' 1." |
| 216 | :group 'document | 216 | :group 'document |
| 217 | :type '(repeat (cons (string :tag "Regexp") | 217 | :type '(repeat (cons (regexp :tag "Regexp") |
| 218 | (string :tag "Doc Text")))) | 218 | (string :tag "Doc Text")))) |
| 219 | 219 | ||
| 220 | (defcustom srecode-document-autocomment-param-alist | 220 | (defcustom srecode-document-autocomment-param-alist |
| @@ -234,7 +234,7 @@ RESULT is a string of text to use to describe MATCH. | |||
| 234 | When one is encountered, document-insert-parameters will automatically | 234 | When one is encountered, document-insert-parameters will automatically |
| 235 | place this comment after the parameter name." | 235 | place this comment after the parameter name." |
| 236 | :group 'document | 236 | :group 'document |
| 237 | :type '(repeat (cons (string :tag "Regexp") | 237 | :type '(repeat (cons (regexp :tag "Regexp") |
| 238 | (string :tag "Doc Text")))) | 238 | (string :tag "Doc Text")))) |
| 239 | 239 | ||
| 240 | (defcustom srecode-document-autocomment-param-type-alist | 240 | (defcustom srecode-document-autocomment-param-type-alist |
| @@ -259,7 +259,7 @@ This is an alist with each element of the form: | |||
| 259 | MATCH is a regexp to match in the type field. | 259 | MATCH is a regexp to match in the type field. |
| 260 | RESULT is a string." | 260 | RESULT is a string." |
| 261 | :group 'document | 261 | :group 'document |
| 262 | :type '(repeat (cons (string :tag "Regexp") | 262 | :type '(repeat (cons (regexp :tag "Regexp") |
| 263 | (string :tag "Doc Text")))) | 263 | (string :tag "Doc Text")))) |
| 264 | 264 | ||
| 265 | ;;;###autoload | 265 | ;;;###autoload |
diff --git a/lisp/desktop.el b/lisp/desktop.el index 6f45278218c..362a4e825a1 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el | |||
| @@ -344,7 +344,7 @@ to the value obtained by evaluating FORM." | |||
| 344 | Each element is a regular expression. Buffers with a name matched by any of | 344 | Each element is a regular expression. Buffers with a name matched by any of |
| 345 | these won't be deleted." | 345 | these won't be deleted." |
| 346 | :version "23.3" ; added Warnings - bug#6336 | 346 | :version "23.3" ; added Warnings - bug#6336 |
| 347 | :type '(repeat string) | 347 | :type '(repeat regexp) |
| 348 | :group 'desktop) | 348 | :group 'desktop) |
| 349 | 349 | ||
| 350 | ;;;###autoload | 350 | ;;;###autoload |
diff --git a/lisp/elide-head.el b/lisp/elide-head.el index c1678c003db..78197c0b474 100644 --- a/lisp/elide-head.el +++ b/lisp/elide-head.el | |||
| @@ -64,8 +64,8 @@ elided with an invisible overlay from the end of the line where the | |||
| 64 | first match is found to the end of the match for the corresponding | 64 | first match is found to the end of the match for the corresponding |
| 65 | cdr." | 65 | cdr." |
| 66 | :group 'elide-head | 66 | :group 'elide-head |
| 67 | :type '(alist :key-type (string :tag "Start regexp") | 67 | :type '(alist :key-type (regexp :tag "Start regexp") |
| 68 | :value-type (string :tag "End regexp"))) | 68 | :value-type (regexp :tag "End regexp"))) |
| 69 | 69 | ||
| 70 | (defvar elide-head-overlay nil) | 70 | (defvar elide-head-overlay nil) |
| 71 | (make-variable-buffer-local 'elide-head-overlay) | 71 | (make-variable-buffer-local 'elide-head-overlay) |
diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el index 72a7f86da2f..2ac43e42742 100644 --- a/lisp/erc/erc-backend.el +++ b/lisp/erc/erc-backend.el | |||
| @@ -375,7 +375,7 @@ Example: If you know that the channel #linux-ru uses the coding-system | |||
| 375 | `cyrillic-koi8', then add (\"#linux-ru\" . cyrillic-koi8) to the | 375 | `cyrillic-koi8', then add (\"#linux-ru\" . cyrillic-koi8) to the |
| 376 | alist." | 376 | alist." |
| 377 | :group 'erc-server | 377 | :group 'erc-server |
| 378 | :type '(repeat (cons (string :tag "Target") | 378 | :type '(repeat (cons (regexp :tag "Target") |
| 379 | coding-system))) | 379 | coding-system))) |
| 380 | 380 | ||
| 381 | (defcustom erc-server-connect-function #'erc-open-network-stream | 381 | (defcustom erc-server-connect-function #'erc-open-network-stream |
diff --git a/lisp/erc/erc-ezbounce.el b/lisp/erc/erc-ezbounce.el index 899ea2f6b5f..b3585c986aa 100644 --- a/lisp/erc/erc-ezbounce.el +++ b/lisp/erc/erc-ezbounce.el | |||
| @@ -34,7 +34,7 @@ | |||
| 34 | (defcustom erc-ezb-regexp "^ezbounce!srv$" | 34 | (defcustom erc-ezb-regexp "^ezbounce!srv$" |
| 35 | "Regexp used by the EZBouncer to identify itself to the user." | 35 | "Regexp used by the EZBouncer to identify itself to the user." |
| 36 | :group 'erc-ezbounce | 36 | :group 'erc-ezbounce |
| 37 | :type 'string) | 37 | :type 'regexp) |
| 38 | 38 | ||
| 39 | (defcustom erc-ezb-login-alist '() | 39 | (defcustom erc-ezb-login-alist '() |
| 40 | "Alist of logins suitable for the server we're connecting to. | 40 | "Alist of logins suitable for the server we're connecting to. |
diff --git a/lisp/files.el b/lisp/files.el index 059fdbbe371..10dba39f363 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -405,7 +405,7 @@ editing a remote file. | |||
| 405 | On MS-DOS filesystems without long names this variable is always | 405 | On MS-DOS filesystems without long names this variable is always |
| 406 | ignored." | 406 | ignored." |
| 407 | :group 'auto-save | 407 | :group 'auto-save |
| 408 | :type '(repeat (list (string :tag "Regexp") (string :tag "Replacement") | 408 | :type '(repeat (list (regexp :tag "Regexp") (string :tag "Replacement") |
| 409 | (boolean :tag "Uniquify"))) | 409 | (boolean :tag "Uniquify"))) |
| 410 | :initialize 'custom-initialize-delay | 410 | :initialize 'custom-initialize-delay |
| 411 | :version "21.1") | 411 | :version "21.1") |
diff --git a/lisp/gnus/deuglify.el b/lisp/gnus/deuglify.el index 3bf6a3aa2aa..8f242762376 100644 --- a/lisp/gnus/deuglify.el +++ b/lisp/gnus/deuglify.el | |||
| @@ -266,21 +266,21 @@ | |||
| 266 | "\\(On \\|Am \\)?\\(Mon\\|Tue\\|Wed\\|Thu\\|Fri\\|Sat\\|Sun\\),[^,]+, " | 266 | "\\(On \\|Am \\)?\\(Mon\\|Tue\\|Wed\\|Thu\\|Fri\\|Sat\\|Sun\\),[^,]+, " |
| 267 | "Regular expression matching the beginning of an attribution line that should be cut off." | 267 | "Regular expression matching the beginning of an attribution line that should be cut off." |
| 268 | :version "22.1" | 268 | :version "22.1" |
| 269 | :type 'string | 269 | :type 'regexp |
| 270 | :group 'gnus-outlook-deuglify) | 270 | :group 'gnus-outlook-deuglify) |
| 271 | 271 | ||
| 272 | (defcustom gnus-outlook-deuglify-attrib-verb-regexp | 272 | (defcustom gnus-outlook-deuglify-attrib-verb-regexp |
| 273 | "wrote\\|writes\\|says\\|schrieb\\|schreibt\\|meinte\\|skrev\\|a écrit\\|schreef\\|escribió" | 273 | "wrote\\|writes\\|says\\|schrieb\\|schreibt\\|meinte\\|skrev\\|a écrit\\|schreef\\|escribió" |
| 274 | "Regular expression matching the verb used in an attribution line." | 274 | "Regular expression matching the verb used in an attribution line." |
| 275 | :version "22.1" | 275 | :version "22.1" |
| 276 | :type 'string | 276 | :type 'regexp |
| 277 | :group 'gnus-outlook-deuglify) | 277 | :group 'gnus-outlook-deuglify) |
| 278 | 278 | ||
| 279 | (defcustom gnus-outlook-deuglify-attrib-end-regexp | 279 | (defcustom gnus-outlook-deuglify-attrib-end-regexp |
| 280 | ": *\\|\\.\\.\\." | 280 | ": *\\|\\.\\.\\." |
| 281 | "Regular expression matching the end of an attribution line." | 281 | "Regular expression matching the end of an attribution line." |
| 282 | :version "22.1" | 282 | :version "22.1" |
| 283 | :type 'string | 283 | :type 'regexp |
| 284 | :group 'gnus-outlook-deuglify) | 284 | :group 'gnus-outlook-deuglify) |
| 285 | 285 | ||
| 286 | (defcustom gnus-outlook-display-hook nil | 286 | (defcustom gnus-outlook-display-hook nil |
diff --git a/lisp/gnus/gnus-fun.el b/lisp/gnus/gnus-fun.el index 8b710512be8..323860bf18c 100644 --- a/lisp/gnus/gnus-fun.el +++ b/lisp/gnus/gnus-fun.el | |||
| @@ -40,7 +40,7 @@ | |||
| 40 | "Regexp to match faces in `gnus-x-face-directory' to be omitted." | 40 | "Regexp to match faces in `gnus-x-face-directory' to be omitted." |
| 41 | :version "25.1" | 41 | :version "25.1" |
| 42 | :group 'gnus-fun | 42 | :group 'gnus-fun |
| 43 | :type '(choice (const nil) string)) | 43 | :type '(choice (const nil) regexp)) |
| 44 | 44 | ||
| 45 | (defcustom gnus-face-directory (expand-file-name "faces" gnus-directory) | 45 | (defcustom gnus-face-directory (expand-file-name "faces" gnus-directory) |
| 46 | "Directory where Face PNG files are stored." | 46 | "Directory where Face PNG files are stored." |
| @@ -52,7 +52,7 @@ | |||
| 52 | "Regexp to match faces in `gnus-face-directory' to be omitted." | 52 | "Regexp to match faces in `gnus-face-directory' to be omitted." |
| 53 | :version "25.1" | 53 | :version "25.1" |
| 54 | :group 'gnus-fun | 54 | :group 'gnus-fun |
| 55 | :type '(choice (const nil) string)) | 55 | :type '(choice (const nil) regexp)) |
| 56 | 56 | ||
| 57 | (defcustom gnus-convert-pbm-to-x-face-command "pbmtoxbm %s | compface" | 57 | (defcustom gnus-convert-pbm-to-x-face-command "pbmtoxbm %s | compface" |
| 58 | "Command for converting a PBM to an X-Face." | 58 | "Command for converting a PBM to an X-Face." |
diff --git a/lisp/gnus/spam.el b/lisp/gnus/spam.el index 83df2f6198f..e7a63d278e7 100644 --- a/lisp/gnus/spam.el +++ b/lisp/gnus/spam.el | |||
| @@ -579,7 +579,7 @@ This must be a list. For example, `(\"-C\" \"configfile\")'." | |||
| 579 | (defcustom spam-spamassassin-positive-spam-flag-header "YES" | 579 | (defcustom spam-spamassassin-positive-spam-flag-header "YES" |
| 580 | "The regex on `spam-spamassassin-spam-flag-header' for positive spam | 580 | "The regex on `spam-spamassassin-spam-flag-header' for positive spam |
| 581 | identification." | 581 | identification." |
| 582 | :type 'string | 582 | :type 'regexp |
| 583 | :group 'spam-spamassassin) | 583 | :group 'spam-spamassassin) |
| 584 | 584 | ||
| 585 | (defcustom spam-spamassassin-spam-status-header "X-Spam-Status" | 585 | (defcustom spam-spamassassin-spam-status-header "X-Spam-Status" |
diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el index 481b14738bc..6b88ea9d730 100644 --- a/lisp/htmlfontify.el +++ b/lisp/htmlfontify.el | |||
| @@ -197,7 +197,7 @@ It takes only one argument, the filename." | |||
| 197 | "Regex to remove from the `<style> a' variant of an htmlfontify CSS class." | 197 | "Regex to remove from the `<style> a' variant of an htmlfontify CSS class." |
| 198 | :group 'htmlfontify | 198 | :group 'htmlfontify |
| 199 | :tag "src-doc-link-unstyle" | 199 | :tag "src-doc-link-unstyle" |
| 200 | :type '(string)) | 200 | :type '(regexp)) |
| 201 | 201 | ||
| 202 | (defcustom hfy-link-extn nil | 202 | (defcustom hfy-link-extn nil |
| 203 | "File extension used for href links. | 203 | "File extension used for href links. |
diff --git a/lisp/info-look.el b/lisp/info-look.el index 8a484bbed1a..ea8fe9646ac 100644 --- a/lisp/info-look.el +++ b/lisp/info-look.el | |||
| @@ -75,7 +75,7 @@ List elements are cons cells of the form | |||
| 75 | 75 | ||
| 76 | If a file name matches REGEXP, then use help mode MODE instead of the | 76 | If a file name matches REGEXP, then use help mode MODE instead of the |
| 77 | buffer's major mode." | 77 | buffer's major mode." |
| 78 | :group 'info-lookup :type '(repeat (cons (string :tag "Regexp") | 78 | :group 'info-lookup :type '(repeat (cons (regexp :tag "Regexp") |
| 79 | (symbol :tag "Mode")))) | 79 | (symbol :tag "Mode")))) |
| 80 | 80 | ||
| 81 | (defvar info-lookup-history nil | 81 | (defvar info-lookup-history nil |
diff --git a/lisp/international/rfc1843.el b/lisp/international/rfc1843.el index 545ee4e53e4..d7a6ddfce71 100644 --- a/lisp/international/rfc1843.el +++ b/lisp/international/rfc1843.el | |||
| @@ -60,7 +60,7 @@ e-mail transmission, news posting, etc." | |||
| 60 | 60 | ||
| 61 | (defcustom rfc1843-newsgroups-regexp "chinese\\|hz" | 61 | (defcustom rfc1843-newsgroups-regexp "chinese\\|hz" |
| 62 | "Regexp of newsgroups in which might be HZ encoded." | 62 | "Regexp of newsgroups in which might be HZ encoded." |
| 63 | :type 'string | 63 | :type 'regexp |
| 64 | :group 'mime) | 64 | :group 'mime) |
| 65 | 65 | ||
| 66 | (defun rfc1843-decode-region (from to) | 66 | (defun rfc1843-decode-region (from to) |
diff --git a/lisp/mail/feedmail.el b/lisp/mail/feedmail.el index 08db4262f17..7b7cefa4055 100644 --- a/lisp/mail/feedmail.el +++ b/lisp/mail/feedmail.el | |||
| @@ -1203,7 +1203,7 @@ no longer matches to transformed string. Used by function | |||
| 1203 | feedmail-tidy-up-slug and indirectly by feedmail-queue-subject-slug-maker." | 1203 | feedmail-tidy-up-slug and indirectly by feedmail-queue-subject-slug-maker." |
| 1204 | :version "24.1" | 1204 | :version "24.1" |
| 1205 | :group 'feedmail-queue | 1205 | :group 'feedmail-queue |
| 1206 | :type 'string | 1206 | :type 'regexp |
| 1207 | ) | 1207 | ) |
| 1208 | 1208 | ||
| 1209 | 1209 | ||
diff --git a/lisp/mail/rmail-spam-filter.el b/lisp/mail/rmail-spam-filter.el index 86217e5dd5c..f08c050802e 100644 --- a/lisp/mail/rmail-spam-filter.el +++ b/lisp/mail/rmail-spam-filter.el | |||
| @@ -133,7 +133,7 @@ If any element matches the \"From\" header, the message is | |||
| 133 | flagged as a valid, non-spam message. E.g., if your domain is | 133 | flagged as a valid, non-spam message. E.g., if your domain is |
| 134 | \"emacs.com\" then including \"emacs\\\\.com\" in this list would | 134 | \"emacs.com\" then including \"emacs\\\\.com\" in this list would |
| 135 | flag all mail (purporting to be) from your colleagues as valid." | 135 | flag all mail (purporting to be) from your colleagues as valid." |
| 136 | :type '(repeat string) | 136 | :type '(repeat regexp) |
| 137 | :group 'rmail-spam-filter) | 137 | :group 'rmail-spam-filter) |
| 138 | 138 | ||
| 139 | (defcustom rsf-definitions-alist nil | 139 | (defcustom rsf-definitions-alist nil |
| @@ -157,22 +157,22 @@ A rule matches only if all the specified elements match." | |||
| 157 | (list :format "%v" | 157 | (list :format "%v" |
| 158 | (cons :format "%v" :value (from . "") | 158 | (cons :format "%v" :value (from . "") |
| 159 | (const :format "" from) | 159 | (const :format "" from) |
| 160 | (string :tag "From" "")) | 160 | (regexp :tag "From" "")) |
| 161 | (cons :format "%v" :value (to . "") | 161 | (cons :format "%v" :value (to . "") |
| 162 | (const :format "" to) | 162 | (const :format "" to) |
| 163 | (string :tag "To" "")) | 163 | (regexp :tag "To" "")) |
| 164 | (cons :format "%v" :value (subject . "") | 164 | (cons :format "%v" :value (subject . "") |
| 165 | (const :format "" subject) | 165 | (const :format "" subject) |
| 166 | (string :tag "Subject" "")) | 166 | (regexp :tag "Subject" "")) |
| 167 | (cons :format "%v" :value (content-type . "") | 167 | (cons :format "%v" :value (content-type . "") |
| 168 | (const :format "" content-type) | 168 | (const :format "" content-type) |
| 169 | (string :tag "Content-Type" "")) | 169 | (regexp :tag "Content-Type" "")) |
| 170 | (cons :format "%v" :value (contents . "") | 170 | (cons :format "%v" :value (contents . "") |
| 171 | (const :format "" contents) | 171 | (const :format "" contents) |
| 172 | (string :tag "Contents" "")) | 172 | (regexp :tag "Contents" "")) |
| 173 | (cons :format "%v" :value (x-spam-status . "") | 173 | (cons :format "%v" :value (x-spam-status . "") |
| 174 | (const :format "" x-spam-status) | 174 | (const :format "" x-spam-status) |
| 175 | (string :tag "X-Spam-Status" "")) | 175 | (regexp :tag "X-Spam-Status" "")) |
| 176 | (cons :format "%v" :value (action . output-and-delete) | 176 | (cons :format "%v" :value (action . output-and-delete) |
| 177 | (const :format "" action) | 177 | (const :format "" action) |
| 178 | (choice :tag "Action selection" | 178 | (choice :tag "Action selection" |
diff --git a/lisp/man.el b/lisp/man.el index 2509e5f90c9..522661fbd16 100644 --- a/lisp/man.el +++ b/lisp/man.el | |||
| @@ -253,7 +253,7 @@ the associated section number." | |||
| 253 | "Regexp that matches the text that precedes the command's name. | 253 | "Regexp that matches the text that precedes the command's name. |
| 254 | Used in `bookmark-set' to get the default bookmark name." | 254 | Used in `bookmark-set' to get the default bookmark name." |
| 255 | :version "24.1" | 255 | :version "24.1" |
| 256 | :type 'string :group 'bookmark) | 256 | :type 'regexp :group 'bookmark) |
| 257 | 257 | ||
| 258 | (defcustom manual-program "man" | 258 | (defcustom manual-program "man" |
| 259 | "Program used by `man' to produce man pages." | 259 | "Program used by `man' to produce man pages." |
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el index 140a0e7e935..71570233425 100644 --- a/lisp/net/ange-ftp.el +++ b/lisp/net/ange-ftp.el | |||
| @@ -838,7 +838,7 @@ If nil, prompt the user for a password." | |||
| 838 | "If non-nil, regexp matching hosts on which `dir' command lists directory." | 838 | "If non-nil, regexp matching hosts on which `dir' command lists directory." |
| 839 | :group 'ange-ftp | 839 | :group 'ange-ftp |
| 840 | :type '(choice (const :tag "Default" nil) | 840 | :type '(choice (const :tag "Default" nil) |
| 841 | string)) | 841 | regexp)) |
| 842 | 842 | ||
| 843 | (defcustom ange-ftp-binary-file-name-regexp "" | 843 | (defcustom ange-ftp-binary-file-name-regexp "" |
| 844 | "If a file matches this regexp then it is transferred in binary mode." | 844 | "If a file matches this regexp then it is transferred in binary mode." |
diff --git a/lisp/net/newst-backend.el b/lisp/net/newst-backend.el index 792ddbbf0b7..43e1d2b4ec6 100644 --- a/lisp/net/newst-backend.el +++ b/lisp/net/newst-backend.el | |||
| @@ -363,7 +363,7 @@ description are marked as immortal." | |||
| 363 | (const :tag "Title" title) | 363 | (const :tag "Title" title) |
| 364 | (const :tag "Description" description) | 364 | (const :tag "Description" description) |
| 365 | (const :tag "All" all)) | 365 | (const :tag "All" all)) |
| 366 | (string :tag "Regexp"))))) | 366 | (regexp :tag "Regexp"))))) |
| 367 | :group 'newsticker-headline-processing) | 367 | :group 'newsticker-headline-processing) |
| 368 | 368 | ||
| 369 | ;; ====================================================================== | 369 | ;; ====================================================================== |
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index a373c7c7d3e..e652508cd73 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el | |||
| @@ -254,7 +254,7 @@ Examples: | |||
| 254 | (\"bitlbee\" bitlbee \"robert\" \"sekrit\") | 254 | (\"bitlbee\" bitlbee \"robert\" \"sekrit\") |
| 255 | (\"dal.net\" nickserv \"bob\" \"sekrit\" \"NickServ@services.dal.net\") | 255 | (\"dal.net\" nickserv \"bob\" \"sekrit\" \"NickServ@services.dal.net\") |
| 256 | (\"quakenet.org\" quakenet \"bobby\" \"sekrit\"))" | 256 | (\"quakenet.org\" quakenet \"bobby\" \"sekrit\"))" |
| 257 | :type '(alist :key-type (string :tag "Server") | 257 | :type '(alist :key-type (regexp :tag "Server") |
| 258 | :value-type (choice (list :tag "NickServ" | 258 | :value-type (choice (list :tag "NickServ" |
| 259 | (const nickserv) | 259 | (const nickserv) |
| 260 | (string :tag "Nick") | 260 | (string :tag "Nick") |
| @@ -359,9 +359,9 @@ If VAL is a coding system, it is used for both decoding and encoding | |||
| 359 | messages. | 359 | messages. |
| 360 | If VAL is a cons of coding systems, the car part is used for decoding, | 360 | If VAL is a cons of coding systems, the car part is used for decoding, |
| 361 | and the cdr part is used for encoding." | 361 | and the cdr part is used for encoding." |
| 362 | :type '(alist :key-type (choice (string :tag "Channel Regexp") | 362 | :type '(alist :key-type (choice (regexp :tag "Channel Regexp") |
| 363 | (cons (string :tag "Channel Regexp") | 363 | (cons (regexp :tag "Channel Regexp") |
| 364 | (string :tag "Server Regexp"))) | 364 | (regexp :tag "Server Regexp"))) |
| 365 | :value-type (choice coding-system | 365 | :value-type (choice coding-system |
| 366 | (cons (coding-system :tag "Decode") | 366 | (cons (coding-system :tag "Decode") |
| 367 | (coding-system :tag "Encode"))))) | 367 | (coding-system :tag "Encode"))))) |
diff --git a/lisp/net/tramp-adb.el b/lisp/net/tramp-adb.el index f0abb277965..300def103e3 100644 --- a/lisp/net/tramp-adb.el +++ b/lisp/net/tramp-adb.el | |||
| @@ -58,7 +58,7 @@ It is used for TCP/IP devices." | |||
| 58 | (defcustom tramp-adb-prompt | 58 | (defcustom tramp-adb-prompt |
| 59 | "^[[:digit:]]*|?[[:alnum:]\e;[]*@?[[:alnum:]]*[^#\\$]*[#\\$][[:space:]]" | 59 | "^[[:digit:]]*|?[[:alnum:]\e;[]*@?[[:alnum:]]*[^#\\$]*[#\\$][[:space:]]" |
| 60 | "Regexp used as prompt in almquist shell." | 60 | "Regexp used as prompt in almquist shell." |
| 61 | :type 'string | 61 | :type 'regexp |
| 62 | :version "24.4" | 62 | :version "24.4" |
| 63 | :group 'tramp) | 63 | :group 'tramp) |
| 64 | 64 | ||
diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el index 2f0bd5f4e17..f77354f11f6 100644 --- a/lisp/org/org-agenda.el +++ b/lisp/org/org-agenda.el | |||
| @@ -1883,7 +1883,7 @@ Nil means don't hide any tags." | |||
| 1883 | :group 'org-agenda-line-format | 1883 | :group 'org-agenda-line-format |
| 1884 | :type '(choice | 1884 | :type '(choice |
| 1885 | (const :tag "Hide none" nil) | 1885 | (const :tag "Hide none" nil) |
| 1886 | (string :tag "Regexp "))) | 1886 | (regexp :tag "Regexp "))) |
| 1887 | 1887 | ||
| 1888 | (defvaralias 'org-agenda-remove-tags-when-in-prefix | 1888 | (defvaralias 'org-agenda-remove-tags-when-in-prefix |
| 1889 | 'org-agenda-remove-tags) | 1889 | 'org-agenda-remove-tags) |
| @@ -1980,7 +1980,7 @@ category, you can use: | |||
| 1980 | (\"Emacs\" \\='(space . (:width (16))))" | 1980 | (\"Emacs\" \\='(space . (:width (16))))" |
| 1981 | :group 'org-agenda-line-format | 1981 | :group 'org-agenda-line-format |
| 1982 | :version "24.1" | 1982 | :version "24.1" |
| 1983 | :type '(alist :key-type (string :tag "Regexp matching category") | 1983 | :type '(alist :key-type (regexp :tag "Regexp matching category") |
| 1984 | :value-type (choice (list :tag "Icon" | 1984 | :value-type (choice (list :tag "Icon" |
| 1985 | (string :tag "File or data") | 1985 | (string :tag "File or data") |
| 1986 | (symbol :tag "Type") | 1986 | (symbol :tag "Type") |
diff --git a/lisp/org/org-protocol.el b/lisp/org/org-protocol.el index 44c6abbd959..5ba21268207 100644 --- a/lisp/org/org-protocol.el +++ b/lisp/org/org-protocol.el | |||
| @@ -278,7 +278,7 @@ This should be a single regexp string." | |||
| 278 | :group 'org-protocol | 278 | :group 'org-protocol |
| 279 | :version "24.4" | 279 | :version "24.4" |
| 280 | :package-version '(Org . "8.0") | 280 | :package-version '(Org . "8.0") |
| 281 | :type 'string) | 281 | :type 'regexp) |
| 282 | 282 | ||
| 283 | ;;; Helper functions: | 283 | ;;; Helper functions: |
| 284 | 284 | ||
diff --git a/lisp/org/org-table.el b/lisp/org/org-table.el index a2e77e07392..daacc988d52 100644 --- a/lisp/org/org-table.el +++ b/lisp/org/org-table.el | |||
| @@ -198,7 +198,7 @@ Other options offered by the customize interface are more restrictive." | |||
| 198 | "^\\([<>]?[-+^.0-9]*[0-9][-+^.0-9eEdDx()%]*\\|[<>]?[-+]?0[xX][[:xdigit:].]+\\|[<>]?[-+]?[0-9]+#[0-9a-zA-Z.]+\\|nan\\|[-+u]?inf\\)$") | 198 | "^\\([<>]?[-+^.0-9]*[0-9][-+^.0-9eEdDx()%]*\\|[<>]?[-+]?0[xX][[:xdigit:].]+\\|[<>]?[-+]?[0-9]+#[0-9a-zA-Z.]+\\|nan\\|[-+u]?inf\\)$") |
| 199 | (const :tag "Very General Number-Like, including hex and Calc radix, allows comma as decimal mark" | 199 | (const :tag "Very General Number-Like, including hex and Calc radix, allows comma as decimal mark" |
| 200 | "^\\([<>]?[-+^.,0-9]*[0-9][-+^.0-9eEdDx()%]*\\|[<>]?[-+]?0[xX][[:xdigit:].]+\\|[<>]?[-+]?[0-9]+#[0-9a-zA-Z.]+\\|nan\\|[-+u]?inf\\)$") | 200 | "^\\([<>]?[-+^.,0-9]*[0-9][-+^.0-9eEdDx()%]*\\|[<>]?[-+]?0[xX][[:xdigit:].]+\\|[<>]?[-+]?[0-9]+#[0-9a-zA-Z.]+\\|nan\\|[-+u]?inf\\)$") |
| 201 | (string :tag "Regexp:"))) | 201 | (regexp :tag "Regexp:"))) |
| 202 | 202 | ||
| 203 | (defcustom org-table-number-fraction 0.5 | 203 | (defcustom org-table-number-fraction 0.5 |
| 204 | "Fraction of numbers in a column required to make the column align right. | 204 | "Fraction of numbers in a column required to make the column align right. |
diff --git a/lisp/org/ox-latex.el b/lisp/org/ox-latex.el index 65f40fb7a15..72777c019cb 100644 --- a/lisp/org/ox-latex.el +++ b/lisp/org/ox-latex.el | |||
| @@ -1239,7 +1239,7 @@ calling `org-latex-compile'." | |||
| 1239 | :package-version '(Org . "8.3") | 1239 | :package-version '(Org . "8.3") |
| 1240 | :type '(repeat | 1240 | :type '(repeat |
| 1241 | (cons | 1241 | (cons |
| 1242 | (string :tag "Regexp") | 1242 | (regexp :tag "Regexp") |
| 1243 | (string :tag "Message")))) | 1243 | (string :tag "Message")))) |
| 1244 | 1244 | ||
| 1245 | 1245 | ||
diff --git a/lisp/progmodes/bug-reference.el b/lisp/progmodes/bug-reference.el index 813ecbe3847..b5db6368951 100644 --- a/lisp/progmodes/bug-reference.el +++ b/lisp/progmodes/bug-reference.el | |||
| @@ -72,7 +72,7 @@ so that it is considered safe, see `enable-local-variables'.") | |||
| 72 | "\\([Bb]ug ?#?\\|[Pp]atch ?#\\|RFE ?#\\|PR [a-z+-]+/\\)\\([0-9]+\\(?:#[0-9]+\\)?\\)" | 72 | "\\([Bb]ug ?#?\\|[Pp]atch ?#\\|RFE ?#\\|PR [a-z+-]+/\\)\\([0-9]+\\(?:#[0-9]+\\)?\\)" |
| 73 | "Regular expression matching bug references. | 73 | "Regular expression matching bug references. |
| 74 | The second subexpression should match the bug reference (usually a number)." | 74 | The second subexpression should match the bug reference (usually a number)." |
| 75 | :type 'string | 75 | :type 'regexp |
| 76 | :version "24.3" ; previously defconst | 76 | :version "24.3" ; previously defconst |
| 77 | :group 'bug-reference) | 77 | :group 'bug-reference) |
| 78 | 78 | ||
diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el index 9fea447e765..adfeb0ba351 100644 --- a/lisp/progmodes/hideif.el +++ b/lisp/progmodes/hideif.el | |||
| @@ -162,7 +162,7 @@ This behavior is generally undesirable. If this option is non-nil, the outermos | |||
| 162 | "\\.h\\(h\\|xx\\|pp\\|\\+\\+\\)?\\'" | 162 | "\\.h\\(h\\|xx\\|pp\\|\\+\\+\\)?\\'" |
| 163 | "C/C++ header file name patterns to determine if current buffer is a header. | 163 | "C/C++ header file name patterns to determine if current buffer is a header. |
| 164 | Effective only if `hide-ifdef-expand-reinclusion-protection' is t." | 164 | Effective only if `hide-ifdef-expand-reinclusion-protection' is t." |
| 165 | :type 'string | 165 | :type 'regexp |
| 166 | :version "25.1") | 166 | :version "25.1") |
| 167 | 167 | ||
| 168 | (defvar hide-ifdef-mode-submap | 168 | (defvar hide-ifdef-mode-submap |
diff --git a/lisp/progmodes/idlw-help.el b/lisp/progmodes/idlw-help.el index c4cf29c1418..f4d4f4b4cd6 100644 --- a/lisp/progmodes/idlw-help.el +++ b/lisp/progmodes/idlw-help.el | |||
| @@ -182,14 +182,14 @@ definition is displayed instead." | |||
| 182 | which specifies the `name' section. Can be used for localization | 182 | which specifies the `name' section. Can be used for localization |
| 183 | support." | 183 | support." |
| 184 | :group 'idlwave-online-help | 184 | :group 'idlwave-online-help |
| 185 | :type 'string) | 185 | :type 'regexp) |
| 186 | 186 | ||
| 187 | (defcustom idlwave-help-doclib-keyword "KEYWORD" | 187 | (defcustom idlwave-help-doclib-keyword "KEYWORD" |
| 188 | "A regexp for the heading word to search for in doclib headers | 188 | "A regexp for the heading word to search for in doclib headers |
| 189 | which specifies the `keywords' section. Can be used for localization | 189 | which specifies the `keywords' section. Can be used for localization |
| 190 | support." | 190 | support." |
| 191 | :group 'idlwave-online-help | 191 | :group 'idlwave-online-help |
| 192 | :type 'string) | 192 | :type 'regexp) |
| 193 | 193 | ||
| 194 | (defface idlwave-help-link | 194 | (defface idlwave-help-link |
| 195 | '((t :inherit link)) | 195 | '((t :inherit link)) |
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el index 9c46ac84e22..c2071d21e50 100644 --- a/lisp/progmodes/idlwave.el +++ b/lisp/progmodes/idlwave.el | |||
| @@ -314,7 +314,7 @@ split then a terminal beep and warning are issued." | |||
| 314 | expression will not be changed. Note that the indentation of a comment | 314 | expression will not be changed. Note that the indentation of a comment |
| 315 | at the beginning of a line is never changed." | 315 | at the beginning of a line is never changed." |
| 316 | :group 'idlwave-code-formatting | 316 | :group 'idlwave-code-formatting |
| 317 | :type 'string) | 317 | :type 'regexp) |
| 318 | 318 | ||
| 319 | (defcustom idlwave-begin-line-comment nil | 319 | (defcustom idlwave-begin-line-comment nil |
| 320 | "A comment anchored at the beginning of line. | 320 | "A comment anchored at the beginning of line. |
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 2956bfa0419..0482cd78dc4 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -1993,7 +1993,7 @@ position, else returns nil." | |||
| 1993 | ;; IPython prompts activated, this adds some safeguard for that. | 1993 | ;; IPython prompts activated, this adds some safeguard for that. |
| 1994 | "In : " "\\.\\.\\.: ") | 1994 | "In : " "\\.\\.\\.: ") |
| 1995 | "List of regular expressions matching input prompts." | 1995 | "List of regular expressions matching input prompts." |
| 1996 | :type '(repeat string) | 1996 | :type '(repeat regexp) |
| 1997 | :version "24.4") | 1997 | :version "24.4") |
| 1998 | 1998 | ||
| 1999 | (defcustom python-shell-prompt-output-regexps | 1999 | (defcustom python-shell-prompt-output-regexps |
| @@ -2001,28 +2001,28 @@ position, else returns nil." | |||
| 2001 | "Out\\[[0-9]+\\]: " ; IPython | 2001 | "Out\\[[0-9]+\\]: " ; IPython |
| 2002 | "Out :") ; ipdb safeguard | 2002 | "Out :") ; ipdb safeguard |
| 2003 | "List of regular expressions matching output prompts." | 2003 | "List of regular expressions matching output prompts." |
| 2004 | :type '(repeat string) | 2004 | :type '(repeat regexp) |
| 2005 | :version "24.4") | 2005 | :version "24.4") |
| 2006 | 2006 | ||
| 2007 | (defcustom python-shell-prompt-regexp ">>> " | 2007 | (defcustom python-shell-prompt-regexp ">>> " |
| 2008 | "Regular expression matching top level input prompt of Python shell. | 2008 | "Regular expression matching top level input prompt of Python shell. |
| 2009 | It should not contain a caret (^) at the beginning." | 2009 | It should not contain a caret (^) at the beginning." |
| 2010 | :type 'string) | 2010 | :type 'regexp) |
| 2011 | 2011 | ||
| 2012 | (defcustom python-shell-prompt-block-regexp "\\.\\.\\.:? " | 2012 | (defcustom python-shell-prompt-block-regexp "\\.\\.\\.:? " |
| 2013 | "Regular expression matching block input prompt of Python shell. | 2013 | "Regular expression matching block input prompt of Python shell. |
| 2014 | It should not contain a caret (^) at the beginning." | 2014 | It should not contain a caret (^) at the beginning." |
| 2015 | :type 'string) | 2015 | :type 'regexp) |
| 2016 | 2016 | ||
| 2017 | (defcustom python-shell-prompt-output-regexp "" | 2017 | (defcustom python-shell-prompt-output-regexp "" |
| 2018 | "Regular expression matching output prompt of Python shell. | 2018 | "Regular expression matching output prompt of Python shell. |
| 2019 | It should not contain a caret (^) at the beginning." | 2019 | It should not contain a caret (^) at the beginning." |
| 2020 | :type 'string) | 2020 | :type 'regexp) |
| 2021 | 2021 | ||
| 2022 | (defcustom python-shell-prompt-pdb-regexp "[(<]*[Ii]?[Pp]db[>)]+ " | 2022 | (defcustom python-shell-prompt-pdb-regexp "[(<]*[Ii]?[Pp]db[>)]+ " |
| 2023 | "Regular expression matching pdb input prompt of Python shell. | 2023 | "Regular expression matching pdb input prompt of Python shell. |
| 2024 | It should not contain a caret (^) at the beginning." | 2024 | It should not contain a caret (^) at the beginning." |
| 2025 | :type 'string) | 2025 | :type 'regexp) |
| 2026 | 2026 | ||
| 2027 | (define-obsolete-variable-alias | 2027 | (define-obsolete-variable-alias |
| 2028 | 'python-shell-enable-font-lock 'python-shell-font-lock-enable "25.1") | 2028 | 'python-shell-enable-font-lock 'python-shell-font-lock-enable "25.1") |
| @@ -2111,7 +2111,7 @@ virtualenv." | |||
| 2111 | "(" (group (1+ digit)) ")" (1+ (not (any "("))) "()") | 2111 | "(" (group (1+ digit)) ")" (1+ (not (any "("))) "()") |
| 2112 | 1 2)) | 2112 | 1 2)) |
| 2113 | "`compilation-error-regexp-alist' for inferior Python." | 2113 | "`compilation-error-regexp-alist' for inferior Python." |
| 2114 | :type '(alist string) | 2114 | :type '(alist regexp) |
| 2115 | :group 'python) | 2115 | :group 'python) |
| 2116 | 2116 | ||
| 2117 | (defmacro python-shell--add-to-path-with-priority (pathvar paths) | 2117 | (defmacro python-shell--add-to-path-with-priority (pathvar paths) |
| @@ -3785,7 +3785,7 @@ the top stack frame has been reached. | |||
| 3785 | 3785 | ||
| 3786 | Filename is expected in the first parenthesized expression. | 3786 | Filename is expected in the first parenthesized expression. |
| 3787 | Line number is expected in the second parenthesized expression." | 3787 | Line number is expected in the second parenthesized expression." |
| 3788 | :type 'string | 3788 | :type 'regexp |
| 3789 | :version "27.1" | 3789 | :version "27.1" |
| 3790 | :safe 'stringp) | 3790 | :safe 'stringp) |
| 3791 | 3791 | ||
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index 7a51739c5f3..069acdb1046 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el | |||
| @@ -905,7 +905,7 @@ it automatically." | |||
| 905 | (const :tag "Default Terminator" t) | 905 | (const :tag "Default Terminator" t) |
| 906 | (string :tag "Terminator String") | 906 | (string :tag "Terminator String") |
| 907 | (cons :tag "Terminator Pattern and String" | 907 | (cons :tag "Terminator Pattern and String" |
| 908 | (string :tag "Terminator Pattern") | 908 | (regexp :tag "Terminator Pattern") |
| 909 | (string :tag "Terminator String"))) | 909 | (string :tag "Terminator String"))) |
| 910 | :version "22.2" | 910 | :version "22.2" |
| 911 | :group 'SQL) | 911 | :group 'SQL) |
| @@ -1033,7 +1033,7 @@ All products share this list; products should define a regexp to | |||
| 1033 | identify additional keywords in a variable defined by | 1033 | identify additional keywords in a variable defined by |
| 1034 | the :statement feature." | 1034 | the :statement feature." |
| 1035 | :version "24.1" | 1035 | :version "24.1" |
| 1036 | :type 'string | 1036 | :type 'regexp |
| 1037 | :group 'SQL) | 1037 | :group 'SQL) |
| 1038 | 1038 | ||
| 1039 | ;; Customization for Oracle | 1039 | ;; Customization for Oracle |
diff --git a/lisp/speedbar.el b/lisp/speedbar.el index 961a1571c7b..fa443cbbccd 100644 --- a/lisp/speedbar.el +++ b/lisp/speedbar.el | |||
| @@ -641,7 +641,7 @@ They should include commonly existing directories which are not | |||
| 641 | useful. It is no longer necessary to include version-control | 641 | useful. It is no longer necessary to include version-control |
| 642 | directories here; see `vc-directory-exclusion-list'." | 642 | directories here; see `vc-directory-exclusion-list'." |
| 643 | :group 'speedbar | 643 | :group 'speedbar |
| 644 | :type 'string) | 644 | :type 'regexp) |
| 645 | 645 | ||
| 646 | (defcustom speedbar-file-unshown-regexp | 646 | (defcustom speedbar-file-unshown-regexp |
| 647 | (let ((nstr "") (noext completion-ignored-extensions)) | 647 | (let ((nstr "") (noext completion-ignored-extensions)) |
| @@ -654,7 +654,7 @@ directories here; see `vc-directory-exclusion-list'." | |||
| 654 | "Regexp matching files we don't want displayed in a speedbar buffer. | 654 | "Regexp matching files we don't want displayed in a speedbar buffer. |
| 655 | It is generated from the variable `completion-ignored-extensions'." | 655 | It is generated from the variable `completion-ignored-extensions'." |
| 656 | :group 'speedbar | 656 | :group 'speedbar |
| 657 | :type 'string) | 657 | :type 'regexp) |
| 658 | 658 | ||
| 659 | (defvar speedbar-file-regexp nil | 659 | (defvar speedbar-file-regexp nil |
| 660 | "Regular expression matching files we know how to expand. | 660 | "Regular expression matching files we know how to expand. |
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index ce788207cf5..e8d47d4b76f 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el | |||
| @@ -89,7 +89,7 @@ EXCEPTION-LIST is a list of strings. The checked word is | |||
| 89 | downcased before comparing with these exceptions." | 89 | downcased before comparing with these exceptions." |
| 90 | :group 'flyspell | 90 | :group 'flyspell |
| 91 | :type '(alist :key-type (choice (const :tag "All dictionaries" nil) | 91 | :type '(alist :key-type (choice (const :tag "All dictionaries" nil) |
| 92 | string) | 92 | regexp) |
| 93 | :value-type (repeat string)) | 93 | :value-type (repeat string)) |
| 94 | :version "24.1") | 94 | :version "24.1") |
| 95 | 95 | ||
| @@ -234,7 +234,7 @@ Ispell's ultimate default dictionary." | |||
| 234 | "A string that is the regular expression that matches TeX commands." | 234 | "A string that is the regular expression that matches TeX commands." |
| 235 | :group 'flyspell | 235 | :group 'flyspell |
| 236 | :version "21.1" | 236 | :version "21.1" |
| 237 | :type 'string) | 237 | :type 'regexp) |
| 238 | 238 | ||
| 239 | (defcustom flyspell-check-tex-math-command nil | 239 | (defcustom flyspell-check-tex-math-command nil |
| 240 | "Non-nil means check even inside TeX math environment. | 240 | "Non-nil means check even inside TeX math environment. |
diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el index 3762010985f..6b82bdb5f96 100644 --- a/lisp/textmodes/paragraphs.el +++ b/lisp/textmodes/paragraphs.el | |||
| @@ -168,7 +168,7 @@ to obtain the value of this variable." | |||
| 168 | (defcustom sentence-end-base "[.?!…‽][]\"'”’)}»›]*" | 168 | (defcustom sentence-end-base "[.?!…‽][]\"'”’)}»›]*" |
| 169 | "Regexp matching the basic end of a sentence, not including following space." | 169 | "Regexp matching the basic end of a sentence, not including following space." |
| 170 | :group 'paragraphs | 170 | :group 'paragraphs |
| 171 | :type 'string | 171 | :type 'regexp |
| 172 | :version "25.1") | 172 | :version "25.1") |
| 173 | (put 'sentence-end-base 'safe-local-variable 'stringp) | 173 | (put 'sentence-end-base 'safe-local-variable 'stringp) |
| 174 | 174 | ||
diff --git a/lisp/textmodes/tildify.el b/lisp/textmodes/tildify.el index ccbc2b086c6..55742ba80be 100644 --- a/lisp/textmodes/tildify.el +++ b/lisp/textmodes/tildify.el | |||
| @@ -67,7 +67,7 @@ matching the white space). The pattern is matched case-sensitive regardless of | |||
| 67 | the value of `case-fold-search' setting." | 67 | the value of `case-fold-search' setting." |
| 68 | :version "25.1" | 68 | :version "25.1" |
| 69 | :group 'tildify | 69 | :group 'tildify |
| 70 | :type 'string | 70 | :type 'regexp |
| 71 | :safe t) | 71 | :safe t) |
| 72 | 72 | ||
| 73 | (defcustom tildify-pattern-alist () | 73 | (defcustom tildify-pattern-alist () |
| @@ -417,7 +417,7 @@ of a space at point. The regexp is always case sensitive, regardless of the | |||
| 417 | current `case-fold-search' setting." | 417 | current `case-fold-search' setting." |
| 418 | :version "25.1" | 418 | :version "25.1" |
| 419 | :group 'tildify | 419 | :group 'tildify |
| 420 | :type 'string) | 420 | :type 'regexp) |
| 421 | 421 | ||
| 422 | (defcustom tildify-space-predicates '(tildify-space-region-predicate) | 422 | (defcustom tildify-space-predicates '(tildify-space-region-predicate) |
| 423 | "A list of predicate functions for `tildify-space' function." | 423 | "A list of predicate functions for `tildify-space' function." |
diff --git a/lisp/vc/ediff-init.el b/lisp/vc/ediff-init.el index a9cbf40c5e3..d30ba1a1cdf 100644 --- a/lisp/vc/ediff-init.el +++ b/lisp/vc/ediff-init.el | |||
| @@ -1282,7 +1282,7 @@ Do not start with `~/' or `~USERNAME/'." | |||
| 1282 | (defcustom ediff-metachars "[ \t\n!\"#$&'()*;<=>?[\\^`{|~]" | 1282 | (defcustom ediff-metachars "[ \t\n!\"#$&'()*;<=>?[\\^`{|~]" |
| 1283 | "Regexp that matches characters that must be quoted with `\\' in shell command line. | 1283 | "Regexp that matches characters that must be quoted with `\\' in shell command line. |
| 1284 | This default should work without changes." | 1284 | This default should work without changes." |
| 1285 | :type 'string | 1285 | :type 'regexp |
| 1286 | :group 'ediff) | 1286 | :group 'ediff) |
| 1287 | 1287 | ||
| 1288 | ;; needed to simulate frame-char-width in XEmacs. | 1288 | ;; needed to simulate frame-char-width in XEmacs. |
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el index cdb50db0d03..c39ee64fca7 100644 --- a/lisp/vc/vc-git.el +++ b/lisp/vc/vc-git.el | |||
| @@ -166,7 +166,7 @@ format string (which is passed to \"git log\" via the argument | |||
| 166 | \"--pretty=tformat:FORMAT\"), REGEXP is a regular expression | 166 | \"--pretty=tformat:FORMAT\"), REGEXP is a regular expression |
| 167 | matching the resulting Git log output, and KEYWORDS is a list of | 167 | matching the resulting Git log output, and KEYWORDS is a list of |
| 168 | `font-lock-keywords' for highlighting the Log View buffer." | 168 | `font-lock-keywords' for highlighting the Log View buffer." |
| 169 | :type '(list string string (repeat sexp)) | 169 | :type '(list string regexp (repeat sexp)) |
| 170 | :version "24.1") | 170 | :version "24.1") |
| 171 | 171 | ||
| 172 | (defcustom vc-git-commits-coding-system 'utf-8 | 172 | (defcustom vc-git-commits-coding-system 'utf-8 |
diff --git a/lisp/vc/vc-hg.el b/lisp/vc/vc-hg.el index f264ba2c9af..205303761a5 100644 --- a/lisp/vc/vc-hg.el +++ b/lisp/vc/vc-hg.el | |||
| @@ -182,7 +182,7 @@ is the \"--template\" argument string to pass to Mercurial, | |||
| 182 | REGEXP is a regular expression matching the resulting Mercurial | 182 | REGEXP is a regular expression matching the resulting Mercurial |
| 183 | output, and KEYWORDS is a list of `font-lock-keywords' for | 183 | output, and KEYWORDS is a list of `font-lock-keywords' for |
| 184 | highlighting the Log View buffer." | 184 | highlighting the Log View buffer." |
| 185 | :type '(list string string (repeat sexp)) | 185 | :type '(list string regexp (repeat sexp)) |
| 186 | :group 'vc-hg | 186 | :group 'vc-hg |
| 187 | :version "24.5") | 187 | :version "24.5") |
| 188 | 188 | ||
diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 243e7502461..ed81514629d 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el | |||
| @@ -716,8 +716,8 @@ and the cons cdr is used for TABs visualization. | |||
| 716 | 716 | ||
| 717 | Used when `whitespace-style' includes `indentation', | 717 | Used when `whitespace-style' includes `indentation', |
| 718 | `indentation::tab' or `indentation::space'." | 718 | `indentation::tab' or `indentation::space'." |
| 719 | :type '(cons (string :tag "Indentation SPACEs") | 719 | :type '(cons (regexp :tag "Indentation SPACEs") |
| 720 | (string :tag "Indentation TABs")) | 720 | (regexp :tag "Indentation TABs")) |
| 721 | :group 'whitespace) | 721 | :group 'whitespace) |
| 722 | 722 | ||
| 723 | 723 | ||
| @@ -747,8 +747,8 @@ and the cons cdr is used for TABs visualization. | |||
| 747 | 747 | ||
| 748 | Used when `whitespace-style' includes `space-after-tab', | 748 | Used when `whitespace-style' includes `space-after-tab', |
| 749 | `space-after-tab::tab' or `space-after-tab::space'." | 749 | `space-after-tab::tab' or `space-after-tab::space'." |
| 750 | :type '(cons (string :tag "SPACEs After TAB") | 750 | :type '(cons (regexp :tag "SPACEs After TAB") |
| 751 | string) | 751 | regexp) |
| 752 | :group 'whitespace) | 752 | :group 'whitespace) |
| 753 | 753 | ||
| 754 | (defcustom whitespace-big-indent-regexp | 754 | (defcustom whitespace-big-indent-regexp |
diff --git a/lisp/woman.el b/lisp/woman.el index 39d9b806d27..27ccf9d99b5 100644 --- a/lisp/woman.el +++ b/lisp/woman.el | |||
| @@ -674,7 +674,7 @@ These normally have names of the form `man?'. Its default value is | |||
| 674 | \"[Mm][Aa][Nn]\", which is case-insensitive mainly for the benefit of | 674 | \"[Mm][Aa][Nn]\", which is case-insensitive mainly for the benefit of |
| 675 | Microsoft platforms. Its purpose is to avoid `cat?', `.', `..', etc." | 675 | Microsoft platforms. Its purpose is to avoid `cat?', `.', `..', etc." |
| 676 | ;; Based on a suggestion by Wei-Xue Shi. | 676 | ;; Based on a suggestion by Wei-Xue Shi. |
| 677 | :type 'string | 677 | :type 'regexp |
| 678 | :group 'woman-interface) | 678 | :group 'woman-interface) |
| 679 | 679 | ||
| 680 | (defcustom woman-path | 680 | (defcustom woman-path |
| @@ -753,7 +753,7 @@ Default is t." | |||
| 753 | An alist with elements of the form (MENU-TITLE REGEXP INDEX) -- | 753 | An alist with elements of the form (MENU-TITLE REGEXP INDEX) -- |
| 754 | see the documentation for `imenu-generic-expression'." | 754 | see the documentation for `imenu-generic-expression'." |
| 755 | :type '(alist :key-type (choice :tag "Title" (const nil) string) | 755 | :type '(alist :key-type (choice :tag "Title" (const nil) string) |
| 756 | :value-type (group (choice (string :tag "Regexp") | 756 | :value-type (group (choice (regexp :tag "Regexp") |
| 757 | function) | 757 | function) |
| 758 | integer)) | 758 | integer)) |
| 759 | :group 'woman-interface) | 759 | :group 'woman-interface) |