Mercurial > emacs
diff src/buffer.c @ 65422:c832bf03b2b2
(init_buffer): Fix error message for failed call to get_current_dir_name.
(get_current_dir_name): Remove prototype.
| author | Eli Zaretskii <eliz@gnu.org> |
|---|---|
| date | Sat, 10 Sep 2005 14:04:18 +0000 |
| parents | 29cca0143d6f |
| children | 170f43effa81 |
line wrap: on
line diff
--- a/src/buffer.c Sat Sep 10 14:03:36 2005 +0000 +++ b/src/buffer.c Sat Sep 10 14:04:18 2005 +0000 @@ -50,8 +50,6 @@ #include "keymap.h" #include "frame.h" -extern char * get_current_dir_name (); - struct buffer *current_buffer; /* the current buffer */ /* First buffer in chain of all buffers (in reverse order of creation). @@ -5136,9 +5134,9 @@ Fset_buffer_multibyte (Qnil); pwd = get_current_dir_name (); - + if(!pwd) - fatal ("`get_cwd' failed: %s\n", strerror (errno)); + fatal ("`get_current_dir_name' failed: %s\n", strerror (errno)); #ifndef VMS /* Maybe this should really use some standard subroutine
