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 /lisp/cedet/srecode | |
| 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.
Diffstat (limited to 'lisp/cedet/srecode')
| -rw-r--r-- | lisp/cedet/srecode/document.el | 14 |
1 files changed, 7 insertions, 7 deletions
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 |