diff options
| author | Tino Calancha | 2016-10-03 20:02:54 +0900 |
|---|---|---|
| committer | Tino Calancha | 2016-10-03 20:02:54 +0900 |
| commit | 3b6eb9489d03e5ecc60e487e8eb340e34942825c (patch) | |
| tree | cb05f5d954356415d15e9065fa5cdde2c0b1f91d /doc/misc | |
| parent | 8cd975cebd588d5435fa2b333dba6c526e602933 (diff) | |
| download | emacs-3b6eb9489d03e5ecc60e487e8eb340e34942825c.tar.gz emacs-3b6eb9489d03e5ecc60e487e8eb340e34942825c.zip | |
dired-mark-extension: Unmark if called with C-u prefix
See discussion in #Bug2518 and:
https://lists.gnu.org/archive/html/emacs-devel/2016-09/msg00711.html
* lisp/dired-x.el (dired-mark-extension):
Update interactive calls: a prefix arg C-u unmark files;
a prefix C-u C-u prompt for MARKER-CHAR and mark files with it.
(dired-mark-sexp):
Show in the prompt that we are unmarking if called with a prefix argument.
* doc/misc/dired-x.texi (Advanced Mark Commands):
Update documentation for 'dired-mark-extension'.
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/dired-x.texi | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/misc/dired-x.texi b/doc/misc/dired-x.texi index 2391852ca0f..db01896095c 100644 --- a/doc/misc/dired-x.texi +++ b/doc/misc/dired-x.texi | |||
| @@ -710,8 +710,10 @@ variable @code{window-min-height}. | |||
| 710 | @findex dired-mark-extension | 710 | @findex dired-mark-extension |
| 711 | Mark all files with a certain extension for use in later commands. A @samp{.} | 711 | Mark all files with a certain extension for use in later commands. A @samp{.} |
| 712 | is not automatically prepended to the string entered, you must type it | 712 | is not automatically prepended to the string entered, you must type it |
| 713 | explicitly. If invoked with a prefix argument, this command asks for | 713 | explicitly. |
| 714 | a character to use as the marker. | 714 | If invoked with prefix argument @kbd{C-u}, this command unmark files instead. |
| 715 | If called with the @kbd{C-u C-u} prefix, asks for a character to use | ||
| 716 | as the marker, and marks files with it. | ||
| 715 | 717 | ||
| 716 | When called from Lisp, @var{extension} may also be a list of extensions | 718 | When called from Lisp, @var{extension} may also be a list of extensions |
| 717 | and an optional argument @var{marker-char} specifies the marker used. | 719 | and an optional argument @var{marker-char} specifies the marker used. |