* lisp/dired-x.el (dired-mark-unmarked-files): Make the unflag-p
parameter work (bug#27465).
(let ((dired-marker-char (if unflag-p ?\s dired-marker-char)))
(dired-mark-if
(and
- ;; not already marked
- (= (following-char) ?\s)
- ;; uninteresting
+ (if unflag-p
+ ;; Already marked.
+ (not (= (following-char) ?\s))
+ ;; Not already marked.
+ (= (following-char) ?\s))
+ ;; Interesting.
(let ((fn (dired-get-filename localp t))
;; Match patterns case-insensitively on case-insensitive
;; systems