aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorTino Calancha2018-08-02 13:20:46 +0900
committerTino Calancha2018-08-02 13:20:46 +0900
commite65ec81fc3e556719fae8d8b4b42f571c7e9f4fc (patch)
tree9a7f094620535b860c27b0f1763ebd1e33ba0163 /etc
parentd216d7d248199aa6c99cd642116717c5b301ae6d (diff)
downloademacs-e65ec81fc3e556719fae8d8b4b42f571c7e9f4fc.tar.gz
emacs-e65ec81fc3e556719fae8d8b4b42f571c7e9f4fc.zip
New commands to create an empty file
Similarly as `create-directory', `dired-create-directory', the new commands create the parent dirs as needed (Bug#24150). * lisp/files.el (make-empty-file): New command. * lisp/dired-aux.el (dired-create-empty-file): New command. (dired--find-topmost-parent-dir): New function extracted from `dired-create-directory'. (dired-create-directory, dired-create-empty-file): Use it. * lisp/dired.el (dired-mode-map): Add menu entry for `dired-create-empty-file'. * doc/emacs/dired.texi (Misc Dired Features) * doc/lispref/files.texi (Create/Delete Dirs): Update manual. ; * etc/NEWS: Announce the changes.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 6c79a46f243..6ccf6fc0890 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -185,6 +185,9 @@ This triggers to search the program on the remote host as indicated by
185 185
186* Editing Changes in Emacs 27.1 186* Editing Changes in Emacs 27.1
187 187
188+++
189** New command 'make-empty-file'.
190
188--- 191---
189** New variable 'x-wait-for-event-timeout'. 192** New variable 'x-wait-for-event-timeout'.
190This controls how long Emacs will wait for updates to the graphical 193This controls how long Emacs will wait for updates to the graphical
@@ -222,6 +225,11 @@ navigation and editing of large files.
222 225
223* Changes in Specialized Modes and Packages in Emacs 27.1 226* Changes in Specialized Modes and Packages in Emacs 27.1
224 227
228+++
229** Dired
230
231*** New command 'dired-create-empty-file'.
232
225** Change Logs and VC 233** Change Logs and VC
226 234
227*** Recording ChangeLog entries doesn't require an actual file. 235*** Recording ChangeLog entries doesn't require an actual file.