diff options
| author | Basil L. Contovounesios | 2020-06-21 14:31:16 +0100 |
|---|---|---|
| committer | Basil L. Contovounesios | 2020-06-21 14:33:16 +0100 |
| commit | a4d3897d8f0caa54be1e1d081651ed6640b7f25e (patch) | |
| tree | f7a4b924761d9adf33b8c617885641448fe3cc8b /test | |
| parent | f18b035763785ffa9d8e27f3ec2be183b741502e (diff) | |
| download | emacs-a4d3897d8f0caa54be1e1d081651ed6640b7f25e.tar.gz emacs-a4d3897d8f0caa54be1e1d081651ed6640b7f25e.zip | |
Replace some uses of cl-mapcan with mapcan
* lisp/progmodes/project.el (project-files, project-files):
* lisp/progmodes/xref.el (xref-backend-references)
(xref--convert-hits):
* test/lisp/emacs-lisp/package-tests.el
(package-test-strip-version): Replace cl-mapcan with equivalent
calls to mapcan.
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/emacs-lisp/package-tests.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/lisp/emacs-lisp/package-tests.el b/test/lisp/emacs-lisp/package-tests.el index fecabba40f5..cb06dd4cce3 100644 --- a/test/lisp/emacs-lisp/package-tests.el +++ b/test/lisp/emacs-lisp/package-tests.el | |||
| @@ -175,9 +175,8 @@ | |||
| 175 | 175 | ||
| 176 | (defun package-test-suffix-matches (base suffix-list) | 176 | (defun package-test-suffix-matches (base suffix-list) |
| 177 | "Return file names matching BASE concatenated with each item in SUFFIX-LIST" | 177 | "Return file names matching BASE concatenated with each item in SUFFIX-LIST" |
| 178 | (cl-mapcan | 178 | (mapcan (lambda (item) (file-expand-wildcards (concat base item))) |
| 179 | (lambda (item) (file-expand-wildcards (concat base item))) | 179 | suffix-list)) |
| 180 | suffix-list)) | ||
| 181 | 180 | ||
| 182 | (defvar tar-parse-info) | 181 | (defvar tar-parse-info) |
| 183 | (declare-function tar-header-name "tar-mode" (cl-x) t) ; defstruct | 182 | (declare-function tar-header-name "tar-mode" (cl-x) t) ; defstruct |