]> git.eshelyaron.com Git - emacs.git/commit
Add file sorting options to find-dired and grep-find (bug#36110)
authorJuri Linkov <juri@linkov.net>
Wed, 19 Jun 2019 21:55:07 +0000 (00:55 +0300)
committerJuri Linkov <juri@linkov.net>
Wed, 19 Jun 2019 21:55:07 +0000 (00:55 +0300)
commit8b379bbeca9b3765e2b1e948d9d9c90ab92ff4b6
treeb452ae0adb93a2b31d66289d1164a6250bbfd72b
parentf6ab713bbc3dc8fccf5fe490615aa2b679071010
Add file sorting options to find-dired and grep-find (bug#36110)

* lisp/find-dired.el (find-ls-option-default-ls)
(find-ls-option-default-exec, find-ls-option-default-xargs):
New variables for values used for options of 'find-ls-option'.
(find-ls-option): Use these variables for default values and options.
(find-dired-refine-function): Refine :type.

* lisp/progmodes/grep.el (grep-find-use-xargs): Use defcustom
instead of defvar.  Add new value 'gnu-sort'.
(grep-compute-defaults): Handle new 'gnu-sort' option of
'grep-find-use-xargs'.
etc/NEWS
lisp/find-dired.el
lisp/progmodes/grep.el