Mercurial > emacs
changeset 67860:326aa30a47b8
(set-visited-file-name): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 27 Dec 2005 22:54:08 +0000 |
parents | 3581847596a9 |
children | f97174293bc0 |
files | lisp/files.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/files.el Tue Dec 27 22:49:46 2005 +0000 +++ b/lisp/files.el Tue Dec 27 22:54:08 2005 +0000 @@ -2565,8 +2565,9 @@ (defun set-visited-file-name (filename &optional no-query along-with-file) "Change name of file visited in current buffer to FILENAME. +This also renames the buffer to correspond to the new file. The next time the buffer is saved it will go in the newly specified file. -FILENAME nil or an empty string means make buffer not be visiting any file. +FILENAME nil or an empty string means mark buffer as not visiting any file. Remember to delete the initial contents of the minibuffer if you wish to pass an empty string as the argument.