Skip to content

Commit 7bc8108

Browse files
committed
Use cl-mapcan instead of mapcan
The function mapcan exists outside cl since Emacs 26.1.
1 parent ccca97f commit 7bc8108

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

el-get-autoloading.el

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@
106106
"Remove from `el-get-autoload-file' any autoloads associated
107107
with the named PACKAGE"
108108
(when (file-exists-p el-get-autoload-file)
109-
(let* ((files (mapcan (lambda (dir)
110-
(when (file-directory-p dir)
111-
(directory-files dir t el-get-autoload-regexp)))
112-
(el-get-load-path package)))
109+
(let* ((files (cl-mapcan (lambda (dir)
110+
(when (file-directory-p dir)
111+
(directory-files dir t el-get-autoload-regexp)))
112+
(el-get-load-path package)))
113113
(generated-autoload-file el-get-autoload-file)
114114
(load-names
115115
(mapcar

0 commit comments

Comments
 (0)