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/net | |
| 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/net')
| -rw-r--r-- | lisp/net/ange-ftp.el | 2 | ||||
| -rw-r--r-- | lisp/net/newst-backend.el | 2 | ||||
| -rw-r--r-- | lisp/net/rcirc.el | 8 | ||||
| -rw-r--r-- | lisp/net/tramp-adb.el | 2 |
4 files changed, 7 insertions, 7 deletions
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 | ||