diff options
| author | Andreas Schwab | 1997-11-21 14:56:30 +0000 |
|---|---|---|
| committer | Andreas Schwab | 1997-11-21 14:56:30 +0000 |
| commit | b27a1703072a3cc4233d6a4d567e8a1d561a7266 (patch) | |
| tree | b93c684891170c059f7a3218b91a4e899db69595 /src | |
| parent | 1d159538f41bc306aef1ade9470abbd03ab16b9a (diff) | |
| download | emacs-b27a1703072a3cc4233d6a4d567e8a1d561a7266.tar.gz emacs-b27a1703072a3cc4233d6a4d567e8a1d561a7266.zip | |
(close_file_unwind): Fix return type and return nil.
(restore_point_unwind): Likewise.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c index dbeaf64435a..dfbfbb76c42 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -248,19 +248,23 @@ report_file_error (string, data) | |||
| 248 | Fcons (build_string (string), Fcons (errstring, data))); | 248 | Fcons (build_string (string), Fcons (errstring, data))); |
| 249 | } | 249 | } |
| 250 | 250 | ||
| 251 | Lisp_Object | ||
| 251 | close_file_unwind (fd) | 252 | close_file_unwind (fd) |
| 252 | Lisp_Object fd; | 253 | Lisp_Object fd; |
| 253 | { | 254 | { |
| 254 | close (XFASTINT (fd)); | 255 | close (XFASTINT (fd)); |
| 256 | return Qnil; | ||
| 255 | } | 257 | } |
| 256 | 258 | ||
| 257 | /* Restore point, having saved it as a marker. */ | 259 | /* Restore point, having saved it as a marker. */ |
| 258 | 260 | ||
| 261 | Lisp_Object | ||
| 259 | restore_point_unwind (location) | 262 | restore_point_unwind (location) |
| 260 | Lisp_Object location; | 263 | Lisp_Object location; |
| 261 | { | 264 | { |
| 262 | SET_PT (marker_position (location)); | 265 | SET_PT (marker_position (location)); |
| 263 | Fset_marker (location, Qnil, Qnil); | 266 | Fset_marker (location, Qnil, Qnil); |
| 267 | return Qnil; | ||
| 264 | } | 268 | } |
| 265 | 269 | ||
| 266 | Lisp_Object Qexpand_file_name; | 270 | Lisp_Object Qexpand_file_name; |