[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#34621: [PATCH] lisp/progmodes/grep.el (grep-read-files): Add file-di
From: |
Juri Linkov |
Subject: |
bug#34621: [PATCH] lisp/progmodes/grep.el (grep-read-files): Add file-directory-p check |
Date: |
Sun, 17 Mar 2019 23:28:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
> More importantly, dired could implement this so that no default
> patterns are suggested for dired buffers.
For Dired, it would make more sense to use a default based on the
filename under point by using dired-get-filename, so for example
when in the Dired buffer in a directory called "django-1.11"
the cursor is on a file called "test.c" then the default could be
*.[ch]