refactor(cli): make all searches case-sensitive
This is more predictable, and is safe as a global default in CLI sessions (but not in interactive ones). This indirectly fixes case insensitivity in our commit linter rules.
This commit is contained in:
parent
a3f917c42d
commit
abc16ef68c
3 changed files with 6 additions and 6 deletions
|
@ -197,8 +197,7 @@ one wants that.")
|
|||
|
||||
(defun doom-autoloads--scan (files &optional exclude literal)
|
||||
(require 'autoload)
|
||||
(let (case-fold-search ; case-sensitive regexp from here on
|
||||
autoloads)
|
||||
(let (autoloads)
|
||||
(dolist (file files (nreverse (delq nil autoloads)))
|
||||
(when (and (or (null exclude)
|
||||
(seq-remove (doom-rpartial #'string-match-p file)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue