; Fix documentation of 'rename-visited-file'

* etc/NEWS: Move to proper place and mark as documented.

* doc/emacs/files.texi (Save Commands): Fix typo.
This commit is contained in:
Eli Zaretskii 2022-06-28 15:37:55 +03:00
parent 772b189143
commit 9151cc9386
2 changed files with 4 additions and 3 deletions

View 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

View file

@ -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