diff options
| author | Karl Heuer | 1996-09-11 21:59:57 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-09-11 21:59:57 +0000 |
| commit | 7fe522899f8d2483ed2b0e19f40e9b56bf104fe8 (patch) | |
| tree | 0e37aad02d03e22bdce1e7f6bba70046865b0692 /src | |
| parent | 5434fce64e7be25019ebcfe1a5d267f9a5a35693 (diff) | |
| download | emacs-7fe522899f8d2483ed2b0e19f40e9b56bf104fe8.tar.gz emacs-7fe522899f8d2483ed2b0e19f40e9b56bf104fe8.zip | |
Change all references from point to PT.
Diffstat (limited to 'src')
| -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 7c7cf7a13f8..9e36bf2e9c0 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -3235,9 +3235,9 @@ and (2) it puts less data in the undo list.") | |||
| 3235 | } | 3235 | } |
| 3236 | 3236 | ||
| 3237 | if (NILP (visit) && total > 0) | 3237 | if (NILP (visit) && total > 0) |
| 3238 | prepare_to_modify_buffer (point, point); | 3238 | prepare_to_modify_buffer (PT, PT); |
| 3239 | 3239 | ||
| 3240 | move_gap (point); | 3240 | move_gap (PT); |
| 3241 | if (GAP_SIZE < total) | 3241 | if (GAP_SIZE < total) |
| 3242 | make_gap (total - GAP_SIZE); | 3242 | make_gap (total - GAP_SIZE); |
| 3243 | 3243 | ||
| @@ -3257,7 +3257,7 @@ and (2) it puts less data in the undo list.") | |||
| 3257 | /* Allow quitting out of the actual I/O. */ | 3257 | /* Allow quitting out of the actual I/O. */ |
| 3258 | immediate_quit = 1; | 3258 | immediate_quit = 1; |
| 3259 | QUIT; | 3259 | QUIT; |
| 3260 | this = read (fd, &FETCH_CHAR (point + inserted - 1) + 1, trytry); | 3260 | this = read (fd, &FETCH_CHAR (PT + inserted - 1) + 1, trytry); |
| 3261 | immediate_quit = 0; | 3261 | immediate_quit = 0; |
| 3262 | 3262 | ||
| 3263 | if (this <= 0) | 3263 | if (this <= 0) |
| @@ -3283,7 +3283,7 @@ and (2) it puts less data in the undo list.") | |||
| 3283 | if (NILP (current_buffer->buffer_file_type)) | 3283 | if (NILP (current_buffer->buffer_file_type)) |
| 3284 | { | 3284 | { |
| 3285 | int reduced_size | 3285 | int reduced_size |
| 3286 | = inserted - crlf_to_lf (inserted, &FETCH_CHAR (point - 1) + 1); | 3286 | = inserted - crlf_to_lf (inserted, &FETCH_CHAR (PT - 1) + 1); |
| 3287 | ZV -= reduced_size; | 3287 | ZV -= reduced_size; |
| 3288 | Z -= reduced_size; | 3288 | Z -= reduced_size; |
| 3289 | GPT -= reduced_size; | 3289 | GPT -= reduced_size; |
| @@ -3295,10 +3295,10 @@ and (2) it puts less data in the undo list.") | |||
| 3295 | 3295 | ||
| 3296 | if (inserted > 0) | 3296 | if (inserted > 0) |
| 3297 | { | 3297 | { |
| 3298 | record_insert (point, inserted); | 3298 | record_insert (PT, inserted); |
| 3299 | 3299 | ||
| 3300 | /* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */ | 3300 | /* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */ |
| 3301 | offset_intervals (current_buffer, point, inserted); | 3301 | offset_intervals (current_buffer, PT, inserted); |
| 3302 | MODIFF++; | 3302 | MODIFF++; |
| 3303 | } | 3303 | } |
| 3304 | 3304 | ||
| @@ -3359,7 +3359,7 @@ and (2) it puts less data in the undo list.") | |||
| 3359 | } | 3359 | } |
| 3360 | 3360 | ||
| 3361 | if (inserted > 0 && NILP (visit) && total > 0) | 3361 | if (inserted > 0 && NILP (visit) && total > 0) |
| 3362 | signal_after_change (point, 0, inserted); | 3362 | signal_after_change (PT, 0, inserted); |
| 3363 | 3363 | ||
| 3364 | if (inserted > 0) | 3364 | if (inserted > 0) |
| 3365 | { | 3365 | { |