[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rename-file
From: |
Sam Steingold |
Subject: |
Re: rename-file |
Date: |
Wed, 26 Aug 2009 23:41:37 -0400 |
On Wed, Aug 26, 2009 at 11:25 PM, Richard Stallman<address@hidden> wrote:
> (defun rename-buffer-file (new-name)
> "Rename the current buffer and the file it is visiting to NEW-NAME."
> (interactive "FRename current file and buffer to: ")
>
> Given the existence of the command `rename-buffer',
> this name will cause confusion.
please suggest a better name.
> Does it rename the buffer, or does it just set the visited file name?
> The code seems to do the latter. If so, the doc string is inaccurate.
doc string says:
rename the _BUFFER_ and the _FILE_.
it renames the file and keeps the buffer associated with it.
--
Sam Steingold <http://sds.podval.org>
Re: rename-file, Stefan Monnier, 2009/08/26
- Re: rename-file, Lennart Borgman, 2009/08/26
- Re: rename-file, Sam Steingold, 2009/08/26
- Re: rename-file, Eli Zaretskii, 2009/08/26
- Re: rename-file, Richard Stallman, 2009/08/26
- Re: rename-file,
Sam Steingold <=
- Re: rename-file, Stefan Monnier, 2009/08/27
- Re: rename-file, Richard Stallman, 2009/08/28
- Re: rename-file, Sam Steingold, 2009/08/31
Re: rename-file, Sam Steingold, 2009/08/27
Re: rename-file, martin rudalics, 2009/08/26
Re: rename-file, Daniel Colascione, 2009/08/27