Mercurial > emacs
comparison src/buffer.c @ 5073:f403be34a2d6
(Frename_buffer): Change s to B in interactive spec to give buffer-name
completion. Buffers are often renamed to a name similar to the name of an
existing buffer.
| author | Roland McGrath <roland@gnu.org> |
|---|---|
| date | Sat, 20 Nov 1993 01:28:24 +0000 |
| parents | 3dab6fdd6bc6 |
| children | bbc2accd226a |
comparison
equal
deleted
inserted
replaced
| 5072:16da133809dd | 5073:f403be34a2d6 |
|---|---|
| 542 | 542 |
| 543 return make_number (BUF_MODIFF (buf)); | 543 return make_number (BUF_MODIFF (buf)); |
| 544 } | 544 } |
| 545 | 545 |
| 546 DEFUN ("rename-buffer", Frename_buffer, Srename_buffer, 1, 2, | 546 DEFUN ("rename-buffer", Frename_buffer, Srename_buffer, 1, 2, |
| 547 "sRename buffer (to new name): \nP", | 547 "BRename buffer (to new name): \nP", |
| 548 "Change current buffer's name to NEWNAME (a string).\n\ | 548 "Change current buffer's name to NEWNAME (a string).\n\ |
| 549 If second arg UNIQUE is nil or omitted, it is an error if a\n\ | 549 If second arg UNIQUE is nil or omitted, it is an error if a\n\ |
| 550 buffer named NEWNAME already exists.\n\ | 550 buffer named NEWNAME already exists.\n\ |
| 551 If UNIQUE is non-nil, come up with a new name using\n\ | 551 If UNIQUE is non-nil, come up with a new name using\n\ |
| 552 `generate-new-buffer-name'.\n\ | 552 `generate-new-buffer-name'.\n\ |
