diff options
| author | Juanma Barranquero | 2005-05-08 23:40:34 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2005-05-08 23:40:34 +0000 |
| commit | a4e03fe5e29a8af2e06ce65ecb5dd460cbd594bf (patch) | |
| tree | b9c135bce4500c5a690dac3daa3660246adcf887 /src/fileio.c | |
| parent | da9356b0e01eb2d9583d77cea72ee5d9687bffd0 (diff) | |
| download | emacs-a4e03fe5e29a8af2e06ce65ecb5dd460cbd594bf.tar.gz emacs-a4e03fe5e29a8af2e06ce65ecb5dd460cbd594bf.zip | |
(Fexpand_file_name, Frename_file, Fadd_name_to_file, Fmake_symbolic_link,
Faccess_file, Frecent_auto_save_p): Doc fixes.
Diffstat (limited to 'src/fileio.c')
| -rw-r--r-- | src/fileio.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fileio.c b/src/fileio.c index 24b6080251f..735b329968b 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -1020,7 +1020,7 @@ DEFUN ("expand-file-name", Fexpand_file_name, Sexpand_file_name, 1, 2, 0, | |||
| 1020 | doc: /* Convert filename NAME to absolute, and canonicalize it. | 1020 | doc: /* Convert filename NAME to absolute, and canonicalize it. |
| 1021 | Second arg DEFAULT-DIRECTORY is directory to start with if NAME is relative | 1021 | Second arg DEFAULT-DIRECTORY is directory to start with if NAME is relative |
| 1022 | \(does not start with slash); if DEFAULT-DIRECTORY is nil or missing, | 1022 | \(does not start with slash); if DEFAULT-DIRECTORY is nil or missing, |
| 1023 | the current buffer's value of default-directory is used. | 1023 | the current buffer's value of `default-directory' is used. |
| 1024 | File name components that are `.' are removed, and | 1024 | File name components that are `.' are removed, and |
| 1025 | so are file name components followed by `..', along with the `..' itself; | 1025 | so are file name components followed by `..', along with the `..' itself; |
| 1026 | note that these simplifications are done without checking the resulting | 1026 | note that these simplifications are done without checking the resulting |
| @@ -2706,7 +2706,7 @@ internal_delete_file (filename) | |||
| 2706 | 2706 | ||
| 2707 | DEFUN ("rename-file", Frename_file, Srename_file, 2, 3, | 2707 | DEFUN ("rename-file", Frename_file, Srename_file, 2, 3, |
| 2708 | "fRename file: \nGRename %s to file: \np", | 2708 | "fRename file: \nGRename %s to file: \np", |
| 2709 | doc: /* Rename FILE as NEWNAME. Both args strings. | 2709 | doc: /* Rename FILE as NEWNAME. Both args must be strings. |
| 2710 | If file has names other than FILE, it continues to have those names. | 2710 | If file has names other than FILE, it continues to have those names. |
| 2711 | Signals a `file-already-exists' error if a file NEWNAME already exists | 2711 | Signals a `file-already-exists' error if a file NEWNAME already exists |
| 2712 | unless optional third argument OK-IF-ALREADY-EXISTS is non-nil. | 2712 | unless optional third argument OK-IF-ALREADY-EXISTS is non-nil. |
| @@ -2795,7 +2795,7 @@ This is what happens in interactive use with M-x. */) | |||
| 2795 | 2795 | ||
| 2796 | DEFUN ("add-name-to-file", Fadd_name_to_file, Sadd_name_to_file, 2, 3, | 2796 | DEFUN ("add-name-to-file", Fadd_name_to_file, Sadd_name_to_file, 2, 3, |
| 2797 | "fAdd name to file: \nGName to add to %s: \np", | 2797 | "fAdd name to file: \nGName to add to %s: \np", |
| 2798 | doc: /* Give FILE additional name NEWNAME. Both args strings. | 2798 | doc: /* Give FILE additional name NEWNAME. Both args must be strings. |
| 2799 | Signals a `file-already-exists' error if a file NEWNAME already exists | 2799 | Signals a `file-already-exists' error if a file NEWNAME already exists |
| 2800 | unless optional third argument OK-IF-ALREADY-EXISTS is non-nil. | 2800 | unless optional third argument OK-IF-ALREADY-EXISTS is non-nil. |
| 2801 | A number as third arg means request confirmation if NEWNAME already exists. | 2801 | A number as third arg means request confirmation if NEWNAME already exists. |
| @@ -2862,7 +2862,7 @@ This is what happens in interactive use with M-x. */) | |||
| 2862 | #ifdef S_IFLNK | 2862 | #ifdef S_IFLNK |
| 2863 | DEFUN ("make-symbolic-link", Fmake_symbolic_link, Smake_symbolic_link, 2, 3, | 2863 | DEFUN ("make-symbolic-link", Fmake_symbolic_link, Smake_symbolic_link, 2, 3, |
| 2864 | "FMake symbolic link to file: \nGMake symbolic link to file %s: \np", | 2864 | "FMake symbolic link to file: \nGMake symbolic link to file %s: \np", |
| 2865 | doc: /* Make a symbolic link to FILENAME, named LINKNAME. Both args strings. | 2865 | doc: /* Make a symbolic link to FILENAME, named LINKNAME. Both args must be strings. |
| 2866 | Signals a `file-already-exists' error if a file LINKNAME already exists | 2866 | Signals a `file-already-exists' error if a file LINKNAME already exists |
| 2867 | unless optional third argument OK-IF-ALREADY-EXISTS is non-nil. | 2867 | unless optional third argument OK-IF-ALREADY-EXISTS is non-nil. |
| 2868 | A number as third arg means request confirmation if LINKNAME already exists. | 2868 | A number as third arg means request confirmation if LINKNAME already exists. |
| @@ -3207,7 +3207,7 @@ DEFUN ("file-writable-p", Ffile_writable_p, Sfile_writable_p, 1, 1, 0, | |||
| 3207 | DEFUN ("access-file", Faccess_file, Saccess_file, 2, 2, 0, | 3207 | DEFUN ("access-file", Faccess_file, Saccess_file, 2, 2, 0, |
| 3208 | doc: /* Access file FILENAME, and get an error if that does not work. | 3208 | doc: /* Access file FILENAME, and get an error if that does not work. |
| 3209 | The second argument STRING is used in the error message. | 3209 | The second argument STRING is used in the error message. |
| 3210 | If there is no error, we return nil. */) | 3210 | If there is no error, returns nil. */) |
| 3211 | (filename, string) | 3211 | (filename, string) |
| 3212 | Lisp_Object filename, string; | 3212 | Lisp_Object filename, string; |
| 3213 | { | 3213 | { |
| @@ -6036,7 +6036,7 @@ DEFUN ("clear-buffer-auto-save-failure", Fclear_buffer_auto_save_failure, | |||
| 6036 | 6036 | ||
| 6037 | DEFUN ("recent-auto-save-p", Frecent_auto_save_p, Srecent_auto_save_p, | 6037 | DEFUN ("recent-auto-save-p", Frecent_auto_save_p, Srecent_auto_save_p, |
| 6038 | 0, 0, 0, | 6038 | 0, 0, 0, |
| 6039 | doc: /* Return t if buffer has been auto-saved since last read in or saved. */) | 6039 | doc: /* Return t if current buffer has been auto-saved since last read in or saved. */) |
| 6040 | () | 6040 | () |
| 6041 | { | 6041 | { |
| 6042 | return (SAVE_MODIFF < current_buffer->auto_save_modified) ? Qt : Qnil; | 6042 | return (SAVE_MODIFF < current_buffer->auto_save_modified) ? Qt : Qnil; |