aboutsummaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorJuanma Barranquero2005-05-08 23:40:34 +0000
committerJuanma Barranquero2005-05-08 23:40:34 +0000
commita4e03fe5e29a8af2e06ce65ecb5dd460cbd594bf (patch)
treeb9c135bce4500c5a690dac3daa3660246adcf887 /src/fileio.c
parentda9356b0e01eb2d9583d77cea72ee5d9687bffd0 (diff)
downloademacs-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.c12
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.
1021Second arg DEFAULT-DIRECTORY is directory to start with if NAME is relative 1021Second 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,
1023the current buffer's value of default-directory is used. 1023the current buffer's value of `default-directory' is used.
1024File name components that are `.' are removed, and 1024File name components that are `.' are removed, and
1025so are file name components followed by `..', along with the `..' itself; 1025so are file name components followed by `..', along with the `..' itself;
1026note that these simplifications are done without checking the resulting 1026note that these simplifications are done without checking the resulting
@@ -2706,7 +2706,7 @@ internal_delete_file (filename)
2706 2706
2707DEFUN ("rename-file", Frename_file, Srename_file, 2, 3, 2707DEFUN ("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.
2710If file has names other than FILE, it continues to have those names. 2710If file has names other than FILE, it continues to have those names.
2711Signals a `file-already-exists' error if a file NEWNAME already exists 2711Signals a `file-already-exists' error if a file NEWNAME already exists
2712unless optional third argument OK-IF-ALREADY-EXISTS is non-nil. 2712unless 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
2796DEFUN ("add-name-to-file", Fadd_name_to_file, Sadd_name_to_file, 2, 3, 2796DEFUN ("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.
2799Signals a `file-already-exists' error if a file NEWNAME already exists 2799Signals a `file-already-exists' error if a file NEWNAME already exists
2800unless optional third argument OK-IF-ALREADY-EXISTS is non-nil. 2800unless optional third argument OK-IF-ALREADY-EXISTS is non-nil.
2801A number as third arg means request confirmation if NEWNAME already exists. 2801A 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
2863DEFUN ("make-symbolic-link", Fmake_symbolic_link, Smake_symbolic_link, 2, 3, 2863DEFUN ("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.
2866Signals a `file-already-exists' error if a file LINKNAME already exists 2866Signals a `file-already-exists' error if a file LINKNAME already exists
2867unless optional third argument OK-IF-ALREADY-EXISTS is non-nil. 2867unless optional third argument OK-IF-ALREADY-EXISTS is non-nil.
2868A number as third arg means request confirmation if LINKNAME already exists. 2868A 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,
3207DEFUN ("access-file", Faccess_file, Saccess_file, 2, 2, 0, 3207DEFUN ("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.
3209The second argument STRING is used in the error message. 3209The second argument STRING is used in the error message.
3210If there is no error, we return nil. */) 3210If 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
6037DEFUN ("recent-auto-save-p", Frecent_auto_save_p, Srecent_auto_save_p, 6037DEFUN ("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;