diff options
| author | Richard M. Stallman | 2007-06-27 23:30:08 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2007-06-27 23:30:08 +0000 |
| commit | 0cf9f5b5e9deeb50366e9f325081a178988bcf21 (patch) | |
| tree | b62e53fa319e78376b71a725d4e17768e73a7feb /src | |
| parent | a3da9a06fda549e8f74772369c8f97c17d928da7 (diff) | |
| download | emacs-0cf9f5b5e9deeb50366e9f325081a178988bcf21.tar.gz emacs-0cf9f5b5e9deeb50366e9f325081a178988bcf21.zip | |
(syms_of_fileio) <after-insert-file-functions>: Doc fix.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/fileio.c | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e89ed8d3ea3..0659b8499b0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2007-06-27 Richard Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * fileio.c (syms_of_fileio) <after-insert-file-functions>: Doc fix. | ||
| 4 | |||
| 1 | 2007-06-27 Juanma Barranquero <lekktu@gmail.com> | 5 | 2007-06-27 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 6 | ||
| 3 | * buffer.c (syms_of_buffer) <selective-display>: Fix typo in docstring. | 7 | * buffer.c (syms_of_buffer) <selective-display>: Fix typo in docstring. |
diff --git a/src/fileio.c b/src/fileio.c index 8e7b588322c..2c4f8379192 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -6021,6 +6021,8 @@ A non-nil CURRENT-ONLY argument means save only current buffer. */) | |||
| 6021 | 6021 | ||
| 6022 | /* Prevent another auto save till enough input events come in. */ | 6022 | /* Prevent another auto save till enough input events come in. */ |
| 6023 | record_auto_save (); | 6023 | record_auto_save (); |
| 6024 | if (stream != NULL) | ||
| 6025 | fclose (stream); | ||
| 6024 | 6026 | ||
| 6025 | if (auto_saved && NILP (no_message)) | 6027 | if (auto_saved && NILP (no_message)) |
| 6026 | { | 6028 | { |
| @@ -6683,8 +6685,9 @@ or local variable spec of the tailing lines with `coding:' tag. */); | |||
| 6683 | 6685 | ||
| 6684 | DEFVAR_LISP ("after-insert-file-functions", &Vafter_insert_file_functions, | 6686 | DEFVAR_LISP ("after-insert-file-functions", &Vafter_insert_file_functions, |
| 6685 | doc: /* A list of functions to be called at the end of `insert-file-contents'. | 6687 | doc: /* A list of functions to be called at the end of `insert-file-contents'. |
| 6686 | Each is passed one argument, the number of characters inserted. | 6688 | Each is passed one argument, the number of characters inserted, |
| 6687 | It should return the new character count, and leave point the same. | 6689 | with point at the start of the inserted text. Each function |
| 6690 | should leave point the same, and return the new character count. | ||
| 6688 | If `insert-file-contents' is intercepted by a handler from | 6691 | If `insert-file-contents' is intercepted by a handler from |
| 6689 | `file-name-handler-alist', that handler is responsible for calling the | 6692 | `file-name-handler-alist', that handler is responsible for calling the |
| 6690 | functions in `after-insert-file-functions' if appropriate. */); | 6693 | functions in `after-insert-file-functions' if appropriate. */); |