summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-09-11 21:59:57 +0000
committerKarl Heuer <kwzh@gnu.org>1996-09-11 21:59:57 +0000
commit7fe522899f8d2483ed2b0e19f40e9b56bf104fe8 (patch)
tree0e37aad02d03e22bdce1e7f6bba70046865b0692
parent5434fce64e7be25019ebcfe1a5d267f9a5a35693 (diff)
downloademacs-7fe522899f8d2483ed2b0e19f40e9b56bf104fe8.tar.gz
Change all references from point to PT.
-rw-r--r--src/fileio.c14
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.")
}
if (NILP (visit) && total > 0)
- prepare_to_modify_buffer (point, point);
+ prepare_to_modify_buffer (PT, PT);
- move_gap (point);
+ move_gap (PT);
if (GAP_SIZE < total)
make_gap (total - GAP_SIZE);
@@ -3257,7 +3257,7 @@ and (2) it puts less data in the undo list.")
/* Allow quitting out of the actual I/O. */
immediate_quit = 1;
QUIT;
- this = read (fd, &FETCH_CHAR (point + inserted - 1) + 1, trytry);
+ this = read (fd, &FETCH_CHAR (PT + inserted - 1) + 1, trytry);
immediate_quit = 0;
if (this <= 0)
@@ -3283,7 +3283,7 @@ and (2) it puts less data in the undo list.")
if (NILP (current_buffer->buffer_file_type))
{
int reduced_size
- = inserted - crlf_to_lf (inserted, &FETCH_CHAR (point - 1) + 1);
+ = inserted - crlf_to_lf (inserted, &FETCH_CHAR (PT - 1) + 1);
ZV -= reduced_size;
Z -= reduced_size;
GPT -= reduced_size;
@@ -3295,10 +3295,10 @@ and (2) it puts less data in the undo list.")
if (inserted > 0)
{
- record_insert (point, inserted);
+ record_insert (PT, inserted);
/* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */
- offset_intervals (current_buffer, point, inserted);
+ offset_intervals (current_buffer, PT, inserted);
MODIFF++;
}
@@ -3359,7 +3359,7 @@ and (2) it puts less data in the undo list.")
}
if (inserted > 0 && NILP (visit) && total > 0)
- signal_after_change (point, 0, inserted);
+ signal_after_change (PT, 0, inserted);
if (inserted > 0)
{