summaryrefslogtreecommitdiff
path: root/src/regex.c
diff options
context:
space:
mode:
authorTino Calancha <tino.calancha@gmail.com>2017-07-30 11:02:49 +0900
committerTino Calancha <tino.calancha@gmail.com>2017-07-30 11:11:04 +0900
commit6f6639d6ed6c6314b2643f6c22498fc2e23d34c7 (patch)
tree10b15b16822652dc1135ac0dd6a872376594da2e /src/regex.c
parent2c930d15f541761422a268cd2b5a7f5c11c9a00e (diff)
downloademacs-6f6639d6ed6c6314b2643f6c22498fc2e23d34c7.tar.gz
emacs-6f6639d6ed6c6314b2643f6c22498fc2e23d34c7.tar.bz2
emacs-6f6639d6ed6c6314b2643f6c22498fc2e23d34c7.zip
Dired: Handle posix wildcards in directory part
Allow Dired to handle calls like \(dired \"~/foo/*/*.el\"), that is, with wildcards within the directory part of the file argument (Bug#27631). * lisp/files.el (insert-directory-wildcard-in-dir-p): New predicate. (insert-directory-clean): New defun extracted from insert-directory. (insert-directory) * lisp/dired.el (dired-internal-noselect) (dired-insert-directory): Use the new predicate; when it's true, handle the directory wildcards with a shell call. * lisp/eshell/em-ls.el (eshell-ls-use-in-dired): Add/remove both advices. (eshell-ls-unload-hook): New defun. Use it in eshell-ls-unload-hook instead of an anonymous function. (eshell-ls--dired) * lisp/ls-lisp.el (ls-lisp--dired): Advice dired to handle wildcards in the directory part with both eshell-ls and ls-lisp. * etc/NEWS: Announce it. * doc/emacs/dired.texi (Dired Enter): Update manual. * test/lisp/dired-tests.el (dired-test-bug27631): Add test.
Diffstat (limited to 'src/regex.c')
0 files changed, 0 insertions, 0 deletions