(dired-mark-if): Make the message about whether it's marking or unmarking clearer (bug#8523)
This commit is contained in:
parent
67aa99ff06
commit
e17d05e2ef
2 changed files with 15 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
|
|
@ -485,7 +485,16 @@ Return value is the number of files marked, or nil if none were marked."
|
|||
`(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
|
||||
|
|
Loading…
Add table
Reference in a new issue