aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/org
diff options
context:
space:
mode:
authorMattias EngdegÄrd2019-12-21 18:52:06 +0100
committerMattias EngdegÄrd2019-12-26 16:50:58 +0100
commitaf085ef40b961ca3466e8b2dfb7f722573e5a4cc (patch)
tree406b79cc7431083a76eeab312e18e1064641eec9 /lisp/org
parentc980d21ae11beb1eca1f3cb373cdddda8a580913 (diff)
downloademacs-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/org')
-rw-r--r--lisp/org/org-agenda.el4
-rw-r--r--lisp/org/org-protocol.el2
-rw-r--r--lisp/org/org-table.el2
-rw-r--r--lisp/org/ox-latex.el2
4 files changed, 5 insertions, 5 deletions
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