comparison man/dired.texi @ 56469:5804f0d30b6e

(Dired Updating): `k' only deletes inserted subdirectories from the Dired buffer if a prefix argument was given.
author Luc Teirlinck <teirllm@auburn.edu>
date Sun, 18 Jul 2004 14:29:40 +0000
parents c4c0d60fa2da
children cf0908fe7bb0 b9eee0a7bef5
comparison
equal deleted inserted replaced
56468:fc5aa4dbf48e 56469:5804f0d30b6e
1028 delete the files---type @kbd{k} (@code{dired-do-kill-lines}). Like 1028 delete the files---type @kbd{k} (@code{dired-do-kill-lines}). Like
1029 the file-operating commands, this command operates on the next @var{n} 1029 the file-operating commands, this command operates on the next @var{n}
1030 files, or on the marked files if any; but it does not operate on the 1030 files, or on the marked files if any; but it does not operate on the
1031 current file as a last resort. 1031 current file as a last resort.
1032 1032
1033 If you kill the line for a file that is a directory, the directory's 1033 If you use @kbd{k} with a numeric prefix argument to kill the line
1034 contents are also deleted from the buffer. Typing @kbd{C-u k} on the 1034 for a file that is a directory, which you have inserted in the Dired
1035 header line for a subdirectory is another way to delete a subdirectory 1035 buffer as a subdirectory, then this deletes that subdirectory from the
1036 from the Dired buffer. 1036 buffer as well. Typing @kbd{C-u k} on the header line for a subdirectory
1037 is another way to delete a subdirectory from the Dired buffer.
1037 1038
1038 The @kbd{g} command brings back any individual lines that you have 1039 The @kbd{g} command brings back any individual lines that you have
1039 killed in this way, but not subdirectories---you must use @kbd{i} to 1040 killed in this way, but not subdirectories---you must use @kbd{i} to
1040 reinsert a subdirectory. 1041 reinsert a subdirectory.
1041 1042