; Fix documentation of 'rename-visited-file'
authorEli Zaretskii <eliz@gnu.org>
Tue, 28 Jun 2022 12:37:55 +0000 (15:37 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 28 Jun 2022 12:37:55 +0000 (15:37 +0300)
* etc/NEWS: Move to proper place and mark as documented.

* doc/emacs/files.texi (Save Commands): Fix typo.

doc/emacs/files.texi
etc/NEWS

index 2296bacada213af2b2931d22993b8bb2941d6676..fa02d264f978bce2971eb4d47673eec3c4075255 100644 (file)
@@ -422,7 +422,7 @@ Save the current buffer with a specified file name (@code{write-file}).
 Change the file name under which the current buffer will be saved.
 @item M-x rename-visited-file
 The same as @kbd{M-x set-visited-file-name}, but also rename the file
-the buffer if visiting (if any).
+the buffer is visiting (if any).
 @end table
 
 @kindex C-x C-s
index c7e0d03d6eee3ad91d4aa915f1335105ece78d91..add7784ade38f4aa43ba43fb3270bb6b2afe7647 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -350,12 +350,13 @@ This should be a regexp or a list of regexps; buffers whose names
 match those regexps will be ignored by 'switch-to-prev-buffer' and
 'switch-to-next-buffer'.
 
-** Menus
-
++++
 ** New command 'rename-visited-file'.
 This command renames the file visited by the current buffer by moving
 it to a new location, and also makes the buffer visit this new file.
 
+** Menus
+
 ---
 *** The entries following the buffers in the "Buffers" menu can now be altered.
 Change the 'menu-bar-buffers-menu-command-entries' variable to alter