diff options
| author | Phil Sung | 2016-02-28 15:07:02 +1030 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-28 15:07:02 +1030 |
| commit | e00974a7d1981d716d38ecf45b689dd30a381c65 (patch) | |
| tree | 635c1677b80ec6db07e52e8c1c45bf7c4348ef0e /doc | |
| parent | d5f270f2965f3c52963e2bf0057756e350d771d1 (diff) | |
| download | emacs-e00974a7d1981d716d38ecf45b689dd30a381c65.tar.gz emacs-e00974a7d1981d716d38ecf45b689dd30a381c65.zip | |
Create subdirectories automatically in wdired
* lisp/wdired.el (wdired-create-parent-directories): New
variable (bug#6817).
(wdired-create-parentdirs): New function.
(wdired-do-renames): Use it.
* doc/emacs/dired.texi (Wdired): Mention
`wdired-create-parent-directories'
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/dired.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi index 13242d12d3c..60542df1097 100644 --- a/doc/emacs/dired.texi +++ b/doc/emacs/dired.texi | |||
| @@ -1294,6 +1294,10 @@ relative). To mark a file for deletion, delete the entire file name. | |||
| 1294 | To change the target of a symbolic link, edit the link target name | 1294 | To change the target of a symbolic link, edit the link target name |
| 1295 | which appears next to the link name. | 1295 | which appears next to the link name. |
| 1296 | 1296 | ||
| 1297 | If you edit the file names to create a new subdirectory, Wdired will | ||
| 1298 | automatically create these new directories. To inhibit this behavior, | ||
| 1299 | set @code{wdired-create-parent-directories} to @code{nil}. | ||
| 1300 | |||
| 1297 | The rest of the text in the buffer, such as the file sizes and | 1301 | The rest of the text in the buffer, such as the file sizes and |
| 1298 | modification dates, is marked read-only, so you can't edit it. | 1302 | modification dates, is marked read-only, so you can't edit it. |
| 1299 | However, if you set @code{wdired-allow-to-change-permissions} to | 1303 | However, if you set @code{wdired-allow-to-change-permissions} to |