diff options
| author | Joakim Verona | 2012-09-03 17:30:17 +0200 |
|---|---|---|
| committer | Joakim Verona | 2012-09-03 17:30:17 +0200 |
| commit | 4a37733c693d59a9b83a3fb2d0c7f9461d149f60 (patch) | |
| tree | a33402e09342f748baebf0e4f5a1e40538e620f4 /src/fileio.c | |
| parent | 5436d1df5e2ba0b4d4f72b03a1cd09b20403654b (diff) | |
| parent | dcde497f27945c3ca4ce8c21f655ef6f627acdd2 (diff) | |
| download | emacs-4a37733c693d59a9b83a3fb2d0c7f9461d149f60.tar.gz emacs-4a37733c693d59a9b83a3fb2d0c7f9461d149f60.zip | |
upstream
Diffstat (limited to 'src/fileio.c')
| -rw-r--r-- | src/fileio.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/fileio.c b/src/fileio.c index 2f4a2ad2314..7466914af1c 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -766,7 +766,7 @@ filesystem tree, not (expand-file-name ".." dirname). */) | |||
| 766 | #endif /* DOS_NT */ | 766 | #endif /* DOS_NT */ |
| 767 | ptrdiff_t length; | 767 | ptrdiff_t length; |
| 768 | Lisp_Object handler, result, handled_name; | 768 | Lisp_Object handler, result, handled_name; |
| 769 | int multibyte; | 769 | bool multibyte; |
| 770 | Lisp_Object hdir; | 770 | Lisp_Object hdir; |
| 771 | 771 | ||
| 772 | CHECK_STRING (name); | 772 | CHECK_STRING (name); |
| @@ -1566,7 +1566,7 @@ those `/' is discarded. */) | |||
| 1566 | char *target = NULL; | 1566 | char *target = NULL; |
| 1567 | int total = 0; | 1567 | int total = 0; |
| 1568 | int substituted = 0; | 1568 | int substituted = 0; |
| 1569 | int multibyte; | 1569 | bool multibyte; |
| 1570 | char *xnm; | 1570 | char *xnm; |
| 1571 | Lisp_Object handler; | 1571 | Lisp_Object handler; |
| 1572 | 1572 | ||
| @@ -3142,8 +3142,7 @@ decide_coding_unwind (Lisp_Object unwind_data) | |||
| 3142 | undo_list = XCAR (unwind_data); | 3142 | undo_list = XCAR (unwind_data); |
| 3143 | buffer = XCDR (unwind_data); | 3143 | buffer = XCDR (unwind_data); |
| 3144 | 3144 | ||
| 3145 | if (current_buffer != XBUFFER (buffer)) | 3145 | set_buffer_internal (XBUFFER (buffer)); |
| 3146 | set_buffer_internal (XBUFFER (buffer)); | ||
| 3147 | adjust_markers_for_delete (BEG, BEG_BYTE, Z, Z_BYTE); | 3146 | adjust_markers_for_delete (BEG, BEG_BYTE, Z, Z_BYTE); |
| 3148 | adjust_overlays_for_delete (BEG, Z - BEG); | 3147 | adjust_overlays_for_delete (BEG, Z - BEG); |
| 3149 | set_buffer_intervals (current_buffer, NULL); | 3148 | set_buffer_intervals (current_buffer, NULL); |
| @@ -3481,7 +3480,7 @@ variable `last-coding-system-used' to the coding system actually used. */) | |||
| 3481 | Lisp_Object workbuf; | 3480 | Lisp_Object workbuf; |
| 3482 | struct buffer *buf; | 3481 | struct buffer *buf; |
| 3483 | 3482 | ||
| 3484 | record_unwind_protect (Fset_buffer, Fcurrent_buffer ()); | 3483 | record_unwind_current_buffer (); |
| 3485 | 3484 | ||
| 3486 | workbuf = Fget_buffer_create (build_string (" *code-converting-work*")); | 3485 | workbuf = Fget_buffer_create (build_string (" *code-converting-work*")); |
| 3487 | buf = XBUFFER (workbuf); | 3486 | buf = XBUFFER (workbuf); |
| @@ -3760,7 +3759,8 @@ variable `last-coding-system-used' to the coding system actually used. */) | |||
| 3760 | ptrdiff_t temp; | 3759 | ptrdiff_t temp; |
| 3761 | ptrdiff_t this = 0; | 3760 | ptrdiff_t this = 0; |
| 3762 | ptrdiff_t this_count = SPECPDL_INDEX (); | 3761 | ptrdiff_t this_count = SPECPDL_INDEX (); |
| 3763 | int multibyte = ! NILP (BVAR (current_buffer, enable_multibyte_characters)); | 3762 | bool multibyte |
| 3763 | = ! NILP (BVAR (current_buffer, enable_multibyte_characters)); | ||
| 3764 | Lisp_Object conversion_buffer; | 3764 | Lisp_Object conversion_buffer; |
| 3765 | struct gcpro gcpro1; | 3765 | struct gcpro gcpro1; |
| 3766 | 3766 | ||
| @@ -5306,7 +5306,7 @@ A non-nil CURRENT-ONLY argument means save only current buffer. */) | |||
| 5306 | FILE *stream = NULL; | 5306 | FILE *stream = NULL; |
| 5307 | ptrdiff_t count = SPECPDL_INDEX (); | 5307 | ptrdiff_t count = SPECPDL_INDEX (); |
| 5308 | int orig_minibuffer_auto_raise = minibuffer_auto_raise; | 5308 | int orig_minibuffer_auto_raise = minibuffer_auto_raise; |
| 5309 | int old_message_p = 0; | 5309 | bool old_message_p = 0; |
| 5310 | struct gcpro gcpro1, gcpro2; | 5310 | struct gcpro gcpro1, gcpro2; |
| 5311 | 5311 | ||
| 5312 | if (max_specpdl_size < specpdl_size + 40) | 5312 | if (max_specpdl_size < specpdl_size + 40) |