diff options
author | Juri Linkov <juri@linkov.net> | 2019-06-20 00:55:07 +0300 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2019-06-20 00:55:07 +0300 |
commit | 8b379bbeca9b3765e2b1e948d9d9c90ab92ff4b6 (patch) | |
tree | b452ae0adb93a2b31d66289d1164a6250bbfd72b /etc | |
parent | f6ab713bbc3dc8fccf5fe490615aa2b679071010 (diff) | |
download | emacs-8b379bbeca9b3765e2b1e948d9d9c90ab92ff4b6.tar.gz |
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'.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -592,6 +592,8 @@ remapped to these, respectively. *** New customizable variable 'find-dired-refine-function'. The default value is 'find-dired-sort-by-filename'. +*** New sorting options for the variable 'find-ls-option'. + ** Change Logs and VC *** Recording ChangeLog entries doesn't require an actual file. @@ -1112,6 +1114,8 @@ The abbreviation can be disabled by the new option 'grep-find-abbreviate'. The new command 'grep-find-toggle-abbreviation' toggles it interactively. +*** 'grep-find-use-xargs' is now customizable with sorting options. + ** ERT +++ |