diff options
| author | Spencer Baugh | 2024-05-22 08:28:07 -0400 |
|---|---|---|
| committer | Dmitry Gutov | 2024-05-24 23:04:32 +0300 |
| commit | c812c935486010bfe2f80c3887c708fbaa4907a6 (patch) | |
| tree | b65414051d62d5ee76edd70ac110f80fad3fd21d /java/org/gnu | |
| parent | 59d7730a46a4a51a2c7e3c800a1d60f92a2322b6 (diff) | |
| download | emacs-c812c935486010bfe2f80c3887c708fbaa4907a6.tar.gz emacs-c812c935486010bfe2f80c3887c708fbaa4907a6.zip | |
Fix usage of cons cells in grep-find-ignored-files
grep-find-ignored-files is documented to also include cons
cells, not just globs, but there were two places outside grep.el
where we were using it as if it was only a string list.
To fix this, add a helper function named grep-find-ignored-files
which handles grep-find-ignored-files properly and returns the
list of globs, and use it everywhere.
* lisp/progmodes/grep.el (grep--filter-list-by-dir)
(grep-find-ignored-files): New functions.
(rgrep-find-ignored-directories): Use grep--filter-list-by-dir.
(lgrep, rgrep-default-command):
Use grep-find-ignored-files function.
* lisp/dired-aux.el (dired-do-find-regexp):
Use grep-find-ignored-files function.
* lisp/progmodes/project.el (project-ignores):
Use grep-find-ignored-files function, if bound. (bug#71115)
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions