regexp-quote comp blacklist entries

This commit is contained in:
Henrik Lissner 2020-10-11 16:22:57 -04:00
parent ea575e3a8d
commit 3f24fc3737
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -101,6 +101,7 @@ envvar will enable this at startup.")
"Root directory for local storage. "Root directory for local storage.
Use this as a storage location for this system's installation of Doom Emacs. Use this as a storage location for this system's installation of Doom Emacs.
These files should not be shared across systems. By default, it is used by These files should not be shared across systems. By default, it is used by
`doom-etc-dir' and `doom-cache-dir'. Must end with a slash.") `doom-etc-dir' and `doom-cache-dir'. Must end with a slash.")
@ -285,8 +286,8 @@ config.el instead."
(after! comp (after! comp
;; HACK Disable native-compilation for some troublesome packages ;; HACK Disable native-compilation for some troublesome packages
(dolist (entry (list (concat "\\`" doom-local-dir ".*/evil-collection-vterm\\.el\\'") (dolist (entry (list (concat "\\`" (regexp-quote doom-local-dir) ".*/evil-collection-vterm\\.el\\'")
(concat "\\`" doom-local-dir "autoloads\\.el\\'"))) (concat "\\`" (regexp-quote doom-autoloads-file) "'")))
(add-to-list 'comp-deferred-compilation-black-list entry))) (add-to-list 'comp-deferred-compilation-black-list entry)))