Use shorter seq.el alternatives
This commit is contained in:
parent
22c7eac897
commit
ca0dbc798d
1 changed files with 3 additions and 4 deletions
|
@ -54,9 +54,8 @@ one wants that.")
|
||||||
(mapcan #'doom-glob doom-autoloads-files)))
|
(mapcan #'doom-glob doom-autoloads-files)))
|
||||||
(doom-autoloads--scan
|
(doom-autoloads--scan
|
||||||
(mapcar #'straight--autoloads-file
|
(mapcar #'straight--autoloads-file
|
||||||
(cl-set-difference (hash-table-keys straight--build-cache)
|
(seq-difference (hash-table-keys straight--build-cache)
|
||||||
doom-autoloads-excluded-packages
|
doom-autoloads-excluded-packages))
|
||||||
:test #'equal))
|
|
||||||
'literal))
|
'literal))
|
||||||
(print! (start "Byte-compiling autoloads file..."))
|
(print! (start "Byte-compiling autoloads file..."))
|
||||||
(doom-autoloads--compile-file file)
|
(doom-autoloads--compile-file file)
|
||||||
|
@ -196,7 +195,7 @@ one wants that.")
|
||||||
(require 'autoload)
|
(require 'autoload)
|
||||||
(let (autoloads)
|
(let (autoloads)
|
||||||
(dolist (file
|
(dolist (file
|
||||||
(cl-remove-if-not #'file-readable-p files)
|
(seq-filter #'file-readable-p files)
|
||||||
(nreverse (delq nil autoloads)))
|
(nreverse (delq nil autoloads)))
|
||||||
(with-temp-buffer
|
(with-temp-buffer
|
||||||
(print! (debug "- Scanning %s") (relpath file doom-emacs-dir))
|
(print! (debug "- Scanning %s") (relpath file doom-emacs-dir))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue