aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorStephen Berman2025-04-15 19:01:19 +0200
committerStephen Berman2025-04-15 19:01:19 +0200
commit0ac12aed09702b2d135312e8dad4e173fcd23dae (patch)
tree54313d7c48f47feed46fd4d36be0218c7f612063 /etc
parent74842b4cb2c164ceed5cbe6ee5ad578ee46fe012 (diff)
downloademacs-0ac12aed09702b2d135312e8dad4e173fcd23dae.tar.gz
emacs-0ac12aed09702b2d135312e8dad4e173fcd23dae.zip
Optionally add new empty file to Dired subdirectory
Suggested by Kasper GaƂkowski <kpg@posteo.net> (bug#77668) * etc/NEWS: Announce new Dired user option. * lisp/dired-aux.el (dired-create-empty-file-in-current-directory): New user option. (dired-create-empty-file): Use it. Update and clarify doc string.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS14
1 files changed, 14 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 2a19e1457a6..1baa82be31d 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1423,6 +1423,20 @@ a control panel window.
1423 1423
1424** Dired 1424** Dired
1425 1425
1426---
1427*** New user option 'dired-create-empty-file-in-current-directory'.
1428When non-nil, 'dired-create-empty-file' creates a new empty file and
1429adds an entry for it (or its topmost new parent directory if created)
1430under the current subdirectory in the Dired buffer by default
1431(otherwise, it adds adds the new file (and new subdirectories if
1432provided) to whichever directory the user enters at the prompt). When
1433nil, `dired-create-empty-file' acts on the default directory by default.
1434
1435Note that setting this user option to non-nil makes invoking
1436'dired-create-empty-file' outside of a Dired buffer raise an error (like
1437other Dired commands that always prompt with the current subdirectory,
1438such as 'dired-create-directory').
1439
1426+++ 1440+++
1427*** New user option 'dired-check-symlinks' allows disabling validity checks. 1441*** New user option 'dired-check-symlinks' allows disabling validity checks.
1428Dired uses 'file-truename' to check symbolic link validity when 1442Dired uses 'file-truename' to check symbolic link validity when