+2011-07-02 Drew Adams <drew.adams@oracle.com>
+
+ * dired.el (dired-mark-if): Make the message about whether it's
+ marking or unmarking clearer (bug#8523).
+
2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
* disp-table.el (display-table-print-array): New function.
`(let ((inhibit-read-only t) count)
(save-excursion
(setq count 0)
- (if ,msg (message "Marking %ss..." ,msg))
+ (when ,msg
+ (message "%s %ss%s..."
+ (cond ((eq dired-marker-char ?\040) "Unmarking")
+ ((eq dired-del-marker dired-marker-char)
+ "Flagging")
+ (t "Marking"))
+ ,msg
+ (if (eq dired-del-marker dired-marker-char)
+ " for deletion"
+ "")))
(goto-char (point-min))
(while (not (eobp))
(if ,predicate