mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-10 16:20:17 -08:00
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.
This commit is contained in:
parent
c980d21ae1
commit
af085ef40b
40 changed files with 76 additions and 76 deletions
|
|
@ -1993,7 +1993,7 @@ position, else returns nil."
|
|||
;; IPython prompts activated, this adds some safeguard for that.
|
||||
"In : " "\\.\\.\\.: ")
|
||||
"List of regular expressions matching input prompts."
|
||||
:type '(repeat string)
|
||||
:type '(repeat regexp)
|
||||
:version "24.4")
|
||||
|
||||
(defcustom python-shell-prompt-output-regexps
|
||||
|
|
@ -2001,28 +2001,28 @@ position, else returns nil."
|
|||
"Out\\[[0-9]+\\]: " ; IPython
|
||||
"Out :") ; ipdb safeguard
|
||||
"List of regular expressions matching output prompts."
|
||||
:type '(repeat string)
|
||||
:type '(repeat regexp)
|
||||
:version "24.4")
|
||||
|
||||
(defcustom python-shell-prompt-regexp ">>> "
|
||||
"Regular expression matching top level input prompt of Python shell.
|
||||
It should not contain a caret (^) at the beginning."
|
||||
:type 'string)
|
||||
:type 'regexp)
|
||||
|
||||
(defcustom python-shell-prompt-block-regexp "\\.\\.\\.:? "
|
||||
"Regular expression matching block input prompt of Python shell.
|
||||
It should not contain a caret (^) at the beginning."
|
||||
:type 'string)
|
||||
:type 'regexp)
|
||||
|
||||
(defcustom python-shell-prompt-output-regexp ""
|
||||
"Regular expression matching output prompt of Python shell.
|
||||
It should not contain a caret (^) at the beginning."
|
||||
:type 'string)
|
||||
:type 'regexp)
|
||||
|
||||
(defcustom python-shell-prompt-pdb-regexp "[(<]*[Ii]?[Pp]db[>)]+ "
|
||||
"Regular expression matching pdb input prompt of Python shell.
|
||||
It should not contain a caret (^) at the beginning."
|
||||
:type 'string)
|
||||
:type 'regexp)
|
||||
|
||||
(define-obsolete-variable-alias
|
||||
'python-shell-enable-font-lock 'python-shell-font-lock-enable "25.1")
|
||||
|
|
@ -2111,7 +2111,7 @@ virtualenv."
|
|||
"(" (group (1+ digit)) ")" (1+ (not (any "("))) "()")
|
||||
1 2))
|
||||
"`compilation-error-regexp-alist' for inferior Python."
|
||||
:type '(alist string)
|
||||
:type '(alist regexp)
|
||||
:group 'python)
|
||||
|
||||
(defmacro python-shell--add-to-path-with-priority (pathvar paths)
|
||||
|
|
@ -3785,7 +3785,7 @@ the top stack frame has been reached.
|
|||
|
||||
Filename is expected in the first parenthesized expression.
|
||||
Line number is expected in the second parenthesized expression."
|
||||
:type 'string
|
||||
:type 'regexp
|
||||
:version "27.1"
|
||||
:safe 'stringp)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue