diff options
| author | Lars Ingebrigtsen | 2019-07-21 17:40:51 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-07-21 17:40:51 +0200 |
| commit | 51f5c1943121ffb8763fbb61e06630c2aa20e5c0 (patch) | |
| tree | a2a62db3613f3761a0de5aa901754903b244a5e3 | |
| parent | ca08815943a1314c154742b9ae3e36ca47aed3b8 (diff) | |
| download | emacs-51f5c1943121ffb8763fbb61e06630c2aa20e5c0.tar.gz emacs-51f5c1943121ffb8763fbb61e06630c2aa20e5c0.zip | |
Make the unflag-p parameter in dired-mark-unmarked-files work
* lisp/dired-x.el (dired-mark-unmarked-files): Make the unflag-p
parameter work (bug#27465).
| -rw-r--r-- | lisp/dired-x.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/dired-x.el b/lisp/dired-x.el index b7ec41aa95f..462fa4ee152 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el | |||
| @@ -629,9 +629,12 @@ Optional fifth argument CASE-FOLD-P specifies the value of | |||
| 629 | (let ((dired-marker-char (if unflag-p ?\s dired-marker-char))) | 629 | (let ((dired-marker-char (if unflag-p ?\s dired-marker-char))) |
| 630 | (dired-mark-if | 630 | (dired-mark-if |
| 631 | (and | 631 | (and |
| 632 | ;; not already marked | 632 | (if unflag-p |
| 633 | (= (following-char) ?\s) | 633 | ;; Already marked. |
| 634 | ;; uninteresting | 634 | (not (= (following-char) ?\s)) |
| 635 | ;; Not already marked. | ||
| 636 | (= (following-char) ?\s)) | ||
| 637 | ;; Interesting. | ||
| 635 | (let ((fn (dired-get-filename localp t)) | 638 | (let ((fn (dired-get-filename localp t)) |
| 636 | ;; Match patterns case-insensitively on case-insensitive | 639 | ;; Match patterns case-insensitively on case-insensitive |
| 637 | ;; systems | 640 | ;; systems |