diff options
| author | Mattias EngdegÄrd | 2020-04-16 09:06:37 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2020-04-16 12:14:37 +0200 |
| commit | 01436fddfb2587271391e72b7eaa6c5c541b46d8 (patch) | |
| tree | db2fcca00fe7089bc0b42814d7298e533824b8b8 /admin | |
| parent | c77d6af1ddb4cc2a515397e955b8389fa9025d8c (diff) | |
| download | emacs-01436fddfb2587271391e72b7eaa6c5c541b46d8.tar.gz emacs-01436fddfb2587271391e72b7eaa6c5c541b46d8.zip | |
Regularise some file-matching regexps
* admin/authors.el (authors-obsolete-files-regexps)
(authors-renamed-files-regexps): Replace ^ and $ with \` and \'.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/authors.el | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/admin/authors.el b/admin/authors.el index fd17a3394d8..13b203b9bc1 100644 --- a/admin/authors.el +++ b/admin/authors.el | |||
| @@ -283,9 +283,9 @@ If REALNAME is nil, ignore that author.") | |||
| 283 | 283 | ||
| 284 | 284 | ||
| 285 | (defvar authors-obsolete-files-regexps | 285 | (defvar authors-obsolete-files-regexps |
| 286 | '(".*loaddefs\\.el$" ; not obsolete, but auto-generated | 286 | '(".*loaddefs\\.el\\'" ; not obsolete, but auto-generated |
| 287 | "\\.\\(bzr\\|cvs\\|git\\)ignore$" ; obsolete or uninteresting | 287 | "\\.\\(bzr\\|cvs\\|git\\)ignore\\'" ; obsolete or uninteresting |
| 288 | "\\.arch-inventory$" | 288 | "\\.arch-inventory\\'" |
| 289 | "ChangeLog\\(\\.[0-9]+\\)?\\'" | 289 | "ChangeLog\\(\\.[0-9]+\\)?\\'" |
| 290 | "\\(automated\\|test\\)/data/" ; not interesting | 290 | "\\(automated\\|test\\)/data/" ; not interesting |
| 291 | "cedet/tests/" | 291 | "cedet/tests/" |
| @@ -1140,7 +1140,7 @@ Elements are (OLDNAME . NEWNAME).") | |||
| 1140 | \\(\\(cs\\|fr\\|sk\\)-\\)?survival\\)\\.tex\\'" "refcards/\\&") | 1140 | \\(\\(cs\\|fr\\|sk\\)-\\)?survival\\)\\.tex\\'" "refcards/\\&") |
| 1141 | ("\\`refcard-\\(de\\|pl\\)\\.tex\\'" "refcards/\\1-refcard.tex") | 1141 | ("\\`refcard-\\(de\\|pl\\)\\.tex\\'" "refcards/\\1-refcard.tex") |
| 1142 | ("\\`\\(refcards/\\)?fr-drdref\\.tex\\'" "refcards/fr-dired-ref.tex") | 1142 | ("\\`\\(refcards/\\)?fr-drdref\\.tex\\'" "refcards/fr-dired-ref.tex") |
| 1143 | ("^\\(TUTORIAL[^/]*\\)" "tutorials/\\1") | 1143 | ("\\`\\(TUTORIAL[^/]*\\)" "tutorials/\\1") |
| 1144 | ("\\`themes/dev-\\(tsdh-\\(?:light\\|dark\\)-theme\\.el\\)\\'" | 1144 | ("\\`themes/dev-\\(tsdh-\\(?:light\\|dark\\)-theme\\.el\\)\\'" |
| 1145 | "themes/\\1") | 1145 | "themes/\\1") |
| 1146 | ;; Moved from lisp/toolbar to etc/images. | 1146 | ;; Moved from lisp/toolbar to etc/images. |
| @@ -1165,9 +1165,9 @@ remove\\|run\\|until\\|up\\|watch\\)\\(\\.\\(?:pb\\|xp\\)m\\)\\'" | |||
| 1165 | ("\\`\\(toolbar/gud-\\|images/gud/\\)s\\(i\\)?\\(\\.\\(?:pb\\|xp\\)m\\)\\'" | 1165 | ("\\`\\(toolbar/gud-\\|images/gud/\\)s\\(i\\)?\\(\\.\\(?:pb\\|xp\\)m\\)\\'" |
| 1166 | "images/gud/step\\2\\3") | 1166 | "images/gud/step\\2\\3") |
| 1167 | ("\\`toolbar/lc-\\([-a-z]+\\.xpm\\)\\'" "images/low-color/\\1") | 1167 | ("\\`toolbar/lc-\\([-a-z]+\\.xpm\\)\\'" "images/low-color/\\1") |
| 1168 | ("^\\(tree-widget/\\(?:default\\|folder\\)/[-a-z]+\\.\\(png\\|xpm\\)\\)$" | 1168 | ("\\`\\(tree-widget/\\(?:default\\|folder\\)/[-a-z]+\\.\\(png\\|xpm\\)\\)\\'" |
| 1169 | "images/\\1") | 1169 | "images/\\1") |
| 1170 | ("^\\(images/icons/\\)mac\\(emacs\\)_\\([0-9]+\\)\\(\\.png\\)" | 1170 | ("\\`\\(images/icons/\\)mac\\(emacs\\)_\\([0-9]+\\)\\(\\.png\\)" |
| 1171 | "\\1\\2\\3_mac\\4") | 1171 | "\\1\\2\\3_mac\\4") |
| 1172 | ("\\(images/icons/\\)emacs_\\([0-9][0-9]\\)\\.png" | 1172 | ("\\(images/icons/\\)emacs_\\([0-9][0-9]\\)\\.png" |
| 1173 | "\\1hicolor/\\2x\\2/apps/emacs.png") | 1173 | "\\1hicolor/\\2x\\2/apps/emacs.png") |
| @@ -1198,10 +1198,10 @@ ediff\\|emerge\\|log-edit\\|log-view\\|pcvs\\|smerge-mode\\|vc\\)\\.el\\'" | |||
| 1198 | ;; Maybe not the exact new name, but disambiguates from lisp/. | 1198 | ;; Maybe not the exact new name, but disambiguates from lisp/. |
| 1199 | ("automated/\\([^/]*\\)\\.el\\'" "\\1-tests.el") | 1199 | ("automated/\\([^/]*\\)\\.el\\'" "\\1-tests.el") |
| 1200 | ;; NB lax rules should come last. | 1200 | ;; NB lax rules should come last. |
| 1201 | ("^m/m-\\(.*\\.h\\)$" "m/\\1" t) | 1201 | ("\\`m/m-\\(.*\\.h\\)\\'" "m/\\1" t) |
| 1202 | ("^m-\\(.*\\.h\\)$" "\\1" t) | 1202 | ("\\`m-\\(.*\\.h\\)\\'" "\\1" t) |
| 1203 | ("^s/s-\\(.*\\.h\\)$" "s/\\1" t) | 1203 | ("\\`s/s-\\(.*\\.h\\)\\'" "s/\\1" t) |
| 1204 | ("^s-\\(.*\\.h\\)$" "\\1" t) | 1204 | ("\\`s-\\(.*\\.h\\)\\'" "\\1" t) |
| 1205 | ("\\.\\(el\\|[ch]\\|x[pb]m\\|pbm\\)\\'" t t) | 1205 | ("\\.\\(el\\|[ch]\\|x[pb]m\\|pbm\\)\\'" t t) |
| 1206 | ) | 1206 | ) |
| 1207 | "List of regexps and rewriting rules for renamed files. | 1207 | "List of regexps and rewriting rules for renamed files. |