Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (Finsert_file_contents): Fix accessing buffer_file_type | Richard M. Stallman | 1994-04-27 | 1 | -4/+3 |
| | | | | | since it is t or nil. Change to handle t or nil as value of find-buffer-file-type. | ||||
* | (syms_of_fileio): New Lisp var inhibit-file-name-operation. | Richard M. Stallman | 1994-04-23 | 1 | -17/+30 |
| | | | | | (Ffind_file_name_handler): Obey that variable. Use new meaning for inhibit-file-name-handlers. | ||||
* | (Ffind_file_name_handler): New argument OPERATION. All callers changed. | Karl Heuer | 1994-04-22 | 1 | -37/+39 |
| | |||||
* | (Finsert_file_contents): Fix test for unchanged file. | Richard M. Stallman | 1994-04-15 | 1 | -1/+1 |
| | |||||
* | [HAVE_UNISTD_H]: Include unistd.h. | Richard M. Stallman | 1994-04-13 | 1 | -0/+4 |
| | |||||
* | (Fdo_auto_save): Don't turn off auto save mode. | Richard M. Stallman | 1994-04-05 | 1 | -5/+28 |
| | | | | | | | | | Instead, store -1 in b->save_length. And don't auto save if there is -1 there. (Vinhibit_file_name_handlers): New var. (syms_of_fileio): Set up Lisp var. (Ffind_file_name_handler): Obey the variable. | ||||
* | (Finsert_file_contents): Use assignment, not initialization. | Karl Heuer | 1994-03-23 | 1 | -1/+2 |
| | |||||
* | (Ffile_modes) [MSDOS]: set exec-bit based on file suffix. | Karl Heuer | 1994-03-16 | 1 | -0/+13 |
| | |||||
* | (Frename_file, Fcopy_file, Fadd_name_to_file, Fmake_symbolic_link): Fix typo | Karl Heuer | 1994-03-16 | 1 | -8/+8 |
| | | | | in previous change. | ||||
* | (Frename_file): Use RETURN_UNGCPRO when run handler. | Richard M. Stallman | 1994-03-15 | 1 | -8/+8 |
| | | | | (Fcopy_file, Fadd_name_to_file, Fmake_symbolic_link): Likewise. | ||||
* | (Fread_file_name): Delete docstring of second version of function, to avoid | Karl Heuer | 1994-03-14 | 1 | -8/+3 |
| | | | | confusing make-docfile. | ||||
* | (Finsert_file_contents): Don't let same_at_end be less than same_at_start. | Richard M. Stallman | 1994-03-14 | 1 | -0/+9 |
| | |||||
* | (Fdo_auto_save): Doc fix. | Richard M. Stallman | 1994-03-05 | 1 | -3/+2 |
| | |||||
* | (Finsert_file_contents): Pass del_range_1 two ends, not a length. | Richard M. Stallman | 1994-03-04 | 1 | -1/+1 |
| | |||||
* | (Fread_file_name): Do the right thing when insert-default-directory is nil. | Karl Heuer | 1994-03-03 | 1 | -2/+6 |
| | | | | Allow for doubled dollar signs in dir when computing pos. | ||||
* | (Finsert_file_contents): If undo_list was t, leave it t. | Richard M. Stallman | 1994-03-03 | 1 | -3/+3 |
| | | | | (Finsert_file_contents): Use del_range_1. | ||||
* | (Finsert_file_contents): If REPLACE, always do lseek. | Richard M. Stallman | 1994-02-23 | 1 | -12/+29 |
| | | | | Exit main loop if INSERTED reaches TOTAL. | ||||
* | (Finsert_file_contents): Fix previous change. | Richard M. Stallman | 1994-02-17 | 1 | -0/+1 |
| | |||||
* | (Finsert_file_contents): New arg REPLACE. | Richard M. Stallman | 1994-02-17 | 1 | -5/+97 |
| | | | | New feature to replace buffer contents with file contents. | ||||
* | (Fsubstitute_in_file_name): Remove long-dead code that looked at USER before | Karl Heuer | 1994-02-11 | 1 | -14/+0 |
| | | | | LOGNAME. | ||||
* | Use new name vmsdir.h. | Richard M. Stallman | 1994-02-10 | 1 | -1/+1 |
| | |||||
* | (Fdo_auto_save): Save echo_area_glyphs_length. | Karl Heuer | 1994-02-10 | 1 | -1/+7 |
| | |||||
* | (Fwrite_region): If FILENAME has no handler, see if VISIT has one. | Richard M. Stallman | 1994-02-03 | 1 | -0/+3 |
| | |||||
* | (double_dollars): New function. | Richard M. Stallman | 1994-01-20 | 1 | -27/+38 |
| | | | | | (Fread_file_name_internal): Use double_dollars. (Fread_file_name): Likewise. | ||||
* | (Ffile_symlink_p): Doc fix. | Richard M. Stallman | 1994-01-16 | 1 | -3/+3 |
| | |||||
* | (Fdo_auto_save): If auto save times out, don't try again for 20 minutes. | Richard M. Stallman | 1994-01-10 | 1 | -0/+27 |
| | | | | | (Fclear_buffer_auto_save_failure): New function. (Fset_buffer_auto_saved): Clear auto_save_failure_time. | ||||
* | (report_file_error): Use strerror instead of sys_errlist. | Roland McGrath | 1994-01-08 | 1 | -4/+1 |
| | |||||
* | Don't declare sys_errlist; declare strerror instead. | Roland McGrath | 1994-01-08 | 1 | -6/+4 |
| | | | | | (err_str): Macro removed. (Finsert_file_contents, Fwrite_region): Call strerror instead of err_str. | ||||
* | [MSDOS]: #include "msdos.h" and <sys/param.h> needed for | Richard M. Stallman | 1994-01-08 | 1 | -1/+177 |
| | | | | | | | | | | | | | | | | the following changes. (Ffile_name_directory, Fexpand_file_name) [FILE_SYSTEM_CASE]: Apply case conversion if defined. (Ffile_name_directory, Ffile_name_nondirectory, file_name_as_directory, directory_file_name, Fexpand_file_name, Fsubstitute_in_file_name, expand_and_dir_to_file) [MSDOS]: Drive letter support. (Fexpand_file_name) [MSDOS]: Support for multiple default directories. (Ffile_writeable_p) [MSDOS]: Don't call access with file name ending in slash. (Finsert_file_contents) [MSDOS]: Determine file type by name (call find-buffer-file-type) and change CR+LF to LF if it is a text file. (Fwrite_region) [MSDOS]: Use text/binary mode as specified by buffer_file_type. (syms_of_fileio) [MSDOS]: Set Qfind_buffer_file_type. (Fsubstitute_in_file_name) [MSDOS]: Ignore case in environtment variable. | ||||
* | (Fwrite_region): Don't change START and END from nil | Richard M. Stallman | 1994-01-01 | 1 | -11/+12 |
| | | | | until after checking for a magic handler. | ||||
* | (Finsert_file_contents): Avoid setting buffer-file-name field if ran a handler. | Richard M. Stallman | 1993-12-31 | 1 | -5/+5 |
| | | | | Get rid of local var `handled'. | ||||
* | (Finsert_file_contents): Don't run after change hook | Richard M. Stallman | 1993-12-31 | 1 | -2/+7 |
| | | | | | if inserted is 0. New local `handled', set if run handler. Avoid setting modtime field if ran a handler. | ||||
* | (Fwrite_region): If handler, don't mess with modtime. | Richard M. Stallman | 1993-12-25 | 1 | -5/+0 |
| | | | | (Finsert_file_contents): Likewise. | ||||
* | (Fmake_symbolic_link): Do expand FILENAME if starts with ~. | Richard M. Stallman | 1993-12-23 | 1 | -4/+11 |
| | | | | (Fread_file_name): If defalt is nil and user tries to use it, signal an error. | ||||
* | (Finsert_file_contents): Don't call signal_after_change | Richard M. Stallman | 1993-11-23 | 1 | -1/+2 |
| | | | | if we did not call prepare_to_modify_buffer. | ||||
* | (syms_of_fileio): Fix missing \n\'s. | Richard M. Stallman | 1993-11-12 | 1 | -10/+10 |
| | |||||
* | (Fwrite_region): Fix minor bugs in POS arg to awrite. | Richard M. Stallman | 1993-11-10 | 1 | -8/+9 |
| | |||||
* | (Fcopy_file): Don't allow the copying of anything other than regular | Brian Fox | 1993-10-25 | 1 | -1/+28 |
| | | | | files or symlink files. | ||||
* | (Fcar_less_than_car): Fix typo in previous change. | Richard M. Stallman | 1993-10-14 | 1 | -1/+1 |
| | |||||
* | (Vafter_insert_file_functions): New variable. | Richard M. Stallman | 1993-10-09 | 1 | -14/+164 |
| | | | | | | | | | | | (Vwrite_region_annotate_functions): New variable. (Qcar_less_than_car): New variable. (Fcar_less_than_car): New function. (syms_of_fileio): Make Lisp variables and function available. staticpro Qcar_less_than_car. (a_write, build_annotations): New functions. (Fwrite_region): Call them. (Finsert_file_contents): Run the Vafter_insert_file_functions. | ||||
* | Include <config.h> instead of "config.h". | Roland McGrath | 1993-09-10 | 1 | -1/+1 |
| | |||||
* | (expand_and_dir_to_file): Use Fdirectory_file_name. | Richard M. Stallman | 1993-08-08 | 1 | -2/+2 |
| | |||||
* | (expand_and_dir_to_file): Remove final / by copying abspath. | Richard M. Stallman | 1993-08-04 | 1 | -10/+3 |
| | |||||
* | (Finsert_file_contents): Don't call prepare_to_modify_buffer | Richard M. Stallman | 1993-08-01 | 1 | -1/+1 |
| | | | | if inserting zero characters. | ||||
* | (Fdo_auto_save): Temporarily clear Vquit_flag. | Richard M. Stallman | 1993-07-25 | 1 | -0/+8 |
| | |||||
* | (Frename_file): After prompting for ok-if-already-exists, pass only nil or | Roland McGrath | 1993-07-03 | 1 | -1/+4 |
| | | | | t to copy-file, never an integer. | ||||
* | * fileio.c (Fset_visited_file_modtime): We're only passing two | Jim Blandy | 1993-06-19 | 1 | -1/+1 |
| | | | | arguments to the file name handler; use call2, not call3. | ||||
* | * fileio.c (Finsert_file_contents): Two new args, BEG and END. | Jim Blandy | 1993-06-17 | 1 | -13/+43 |
| | |||||
* | (Fset_visited_file_modtime): Don't give the handler | Richard M. Stallman | 1993-06-14 | 1 | -1/+2 |
| | | | | the filename as an argument. | ||||
* | (Fcopy_file): Pass all the args to the handler. | Richard M. Stallman | 1993-06-13 | 1 | -15/+15 |
| | | | | | | | | (Fwrite_region): Use call6. (Frename_file): Look for handler for newname. (Fadd_name_to_file): Pass arg ok_if_already_exists to handler. (Fmake_symbolic_link): Likewise. (Ffile_newer_than_file_p): Check both file names for handler. |