diff options
| author | Richard M. Stallman | 2003-04-08 17:09:23 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-04-08 17:09:23 +0000 |
| commit | cf6d23577d6fdfade2979f953745733b70c4a0bd (patch) | |
| tree | b8aec689cbfc9cf09fdc032a19b1351de8374fd3 | |
| parent | e8f25745658d1226ccde6b5ae2f7eceaeda74446 (diff) | |
| download | emacs-cf6d23577d6fdfade2979f953745733b70c4a0bd.tar.gz emacs-cf6d23577d6fdfade2979f953745733b70c4a0bd.zip | |
(Finsert_file_contents): Doc fix.
(syms_of_fileio) <after-insert-file-functions>: Doc fix.
| -rw-r--r-- | src/fileio.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/fileio.c b/src/fileio.c index c11a6f6292d..d1e80d6c34b 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -3574,7 +3574,7 @@ read_non_regular_quit () | |||
| 3574 | DEFUN ("insert-file-contents", Finsert_file_contents, Sinsert_file_contents, | 3574 | DEFUN ("insert-file-contents", Finsert_file_contents, Sinsert_file_contents, |
| 3575 | 1, 5, 0, | 3575 | 1, 5, 0, |
| 3576 | doc: /* Insert contents of file FILENAME after point. | 3576 | doc: /* Insert contents of file FILENAME after point. |
| 3577 | Returns list of absolute file name and number of bytes inserted. | 3577 | Returns list of absolute file name and number of characters inserted. |
| 3578 | If second argument VISIT is non-nil, the buffer's visited filename | 3578 | If second argument VISIT is non-nil, the buffer's visited filename |
| 3579 | and last save file modtime are set, and it is marked unmodified. | 3579 | and last save file modtime are set, and it is marked unmodified. |
| 3580 | If visiting and the file does not exist, visiting is completed | 3580 | If visiting and the file does not exist, visiting is completed |
| @@ -4493,6 +4493,8 @@ actually used. */) | |||
| 4493 | inserted); | 4493 | inserted); |
| 4494 | } | 4494 | } |
| 4495 | 4495 | ||
| 4496 | /* Now INSERTED is measured in characters. */ | ||
| 4497 | |||
| 4496 | #ifdef DOS_NT | 4498 | #ifdef DOS_NT |
| 4497 | /* Use the conversion type to determine buffer-file-type | 4499 | /* Use the conversion type to determine buffer-file-type |
| 4498 | (find-buffer-file-type is now used to help determine the | 4500 | (find-buffer-file-type is now used to help determine the |
| @@ -6414,10 +6416,11 @@ or local variable spec of the tailing lines with `coding:' tag. */); | |||
| 6414 | 6416 | ||
| 6415 | DEFVAR_LISP ("after-insert-file-functions", &Vafter_insert_file_functions, | 6417 | DEFVAR_LISP ("after-insert-file-functions", &Vafter_insert_file_functions, |
| 6416 | doc: /* A list of functions to be called at the end of `insert-file-contents'. | 6418 | doc: /* A list of functions to be called at the end of `insert-file-contents'. |
| 6417 | Each is passed one argument, the number of bytes inserted. It should return | 6419 | Each is passed one argument, the number of characters inserted. |
| 6418 | the new byte count, and leave point the same. If `insert-file-contents' is | 6420 | It should return the new character count, and leave point the same. |
| 6419 | intercepted by a handler from `file-name-handler-alist', that handler is | 6421 | If `insert-file-contents' is intercepted by a handler from |
| 6420 | responsible for calling the after-insert-file-functions if appropriate. */); | 6422 | `file-name-handler-alist', that handler is responsible for calling the |
| 6423 | functions in `after-insert-file-functions' if appropriate. */); | ||
| 6421 | Vafter_insert_file_functions = Qnil; | 6424 | Vafter_insert_file_functions = Qnil; |
| 6422 | 6425 | ||
| 6423 | DEFVAR_LISP ("write-region-annotate-functions", &Vwrite_region_annotate_functions, | 6426 | DEFVAR_LISP ("write-region-annotate-functions", &Vwrite_region_annotate_functions, |