Maintain a list of files marked for deletion while refreshing a dired
authorlum <lum@openbsd.org>
Mon, 12 Oct 2015 19:08:39 +0000 (19:08 +0000)
committerlum <lum@openbsd.org>
Mon, 12 Oct 2015 19:08:39 +0000 (19:08 +0000)
commit1c4a9ba6222fa3b2381c98dc87f2a6fa2b421e54
treed599a14f856ba258b2067d5f9a3314663a44bb27
parentc4de9e73ec89a6d12510ae21a7aa2d0c94b92d28
Maintain a list of files marked for deletion while refreshing a dired
buffer. Previously, when refreshing the buffer the files marked for
deletion would be lost.

Since the relationship between the files that have been marked for
deletion and those that exist on disk is volatile, I have chosen to
implement the discovery of marked files during the refresh function as
opposed to maintaining a dired buffer specific list.
usr.bin/mg/def.h
usr.bin/mg/dired.c