diff options
| author | Kenichi Handa | 1998-06-12 08:35:09 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-06-12 08:35:09 +0000 |
| commit | b69a8fdc6cca578ec5947e1965a169359ed07ddc (patch) | |
| tree | 370751076305926cb09c55b73bcbc47c6080e812 /src | |
| parent | bb98ead95142201215c5226ff1f18260813d8cf4 (diff) | |
| download | emacs-b69a8fdc6cca578ec5947e1965a169359ed07ddc.tar.gz emacs-b69a8fdc6cca578ec5947e1965a169359ed07ddc.zip | |
(Finsert_file_contents): After calling handler,
get INSERTED from the handler's value.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c index 742c7ad95fe..5c81f0a2088 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -3334,6 +3334,8 @@ actually used.") | |||
| 3334 | { | 3334 | { |
| 3335 | val = call6 (handler, Qinsert_file_contents, filename, | 3335 | val = call6 (handler, Qinsert_file_contents, filename, |
| 3336 | visit, beg, end, replace); | 3336 | visit, beg, end, replace); |
| 3337 | if (CONSP (val) && CONSP (XCONS (val)->cdr)) | ||
| 3338 | inserted = XINT (XCONS (XCONS (val)->cdr)->cdr); | ||
| 3337 | goto handled; | 3339 | goto handled; |
| 3338 | } | 3340 | } |
| 3339 | 3341 | ||