emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rename-file


From: Richard Stallman
Subject: Re: rename-file
Date: Wed, 26 Aug 2009 23:25:21 -0400

    (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.

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]