From 9151cc9386c0beec48f6be9e4fe44dd60a67ee08 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 28 Jun 2022 15:37:55 +0300 Subject: [PATCH] ; Fix documentation of 'rename-visited-file' * etc/NEWS: Move to proper place and mark as documented. * doc/emacs/files.texi (Save Commands): Fix typo. --- doc/emacs/files.texi | 2 +- etc/NEWS | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index 2296bacada2..fa02d264f97 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi @@ -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 diff --git a/etc/NEWS b/etc/NEWS index c7e0d03d6ee..add7784ade3 100644 --- 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 -- 2.39.5