Mercurial > emacs
changeset 9939:686916b836b4
(Frename_buffer): Rename arg NAME to NEWNAME.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 15 Nov 1994 17:05:44 +0000 |
parents | 6ed7a5e79c20 |
children | 4a06fd6dcbff |
files | src/buffer.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buffer.c Tue Nov 15 17:05:30 1994 +0000 +++ b/src/buffer.c Tue Nov 15 17:05:44 1994 +0000 @@ -584,7 +584,7 @@ It makes UNIQUE equivalent to (rename-buffer (generate-new-buffer-name NEWNAME)). */ if (NILP (unique) && XBUFFER (tem) == current_buffer) - return current_buffer->newname; + return current_buffer->name; if (!NILP (tem)) { if (!NILP (unique)) @@ -604,8 +604,8 @@ if (NILP (current_buffer->filename) && !NILP (current_buffer->auto_save_file_name)) call0 (intern ("rename-auto-save-file")); - /* refetch since that last call may have done GC */ - return current_buffer->newname; + /* Refetch since that last call may have done GC. */ + return current_buffer->name; } DEFUN ("other-buffer", Fother_buffer, Sother_buffer, 0, 2, 0,