Mercurial > emacs
view src/unexfx2800.c @ 5075:8deb7113bbdf
(Frename_buffer): When the current buffer is already named NAME, don't
short-circuit and just return unless UNIQUE is nil. This makes passing
UNIQUE=t equivalent to (rename-buffer (generate-new-buffer-name NAME)).
This is useful way to rename the buffer automatically so you can create
another with the original name.
author | Roland McGrath <roland@gnu.org> |
---|---|
date | Sat, 20 Nov 1993 01:41:51 +0000 |
parents | 79ea818b6aed |
children |
line wrap: on
line source
/* Unexec for the Alliant FX/2800. */ #include <stdio.h> unexec (new_name, a_name, data_start, bss_start, entry_address) char *new_name, *a_name; unsigned data_start, bss_start, entry_address; { int stat; stat = elf_write_modified_data (a_name, new_name); if (stat < 0) perror ("emacs: elf_write_modified_data"); else if (stat > 0) fprintf (stderr, "Unspecified error from elf_write_modified_data.\n"); }