aboutsummaryrefslogtreecommitdiffstats
path: root/src/print.c
diff options
context:
space:
mode:
authorKarl Heuer1996-09-01 19:15:05 +0000
committerKarl Heuer1996-09-01 19:15:05 +0000
commit6ec8bbd20d14dadb850f993d828b42bb97deba32 (patch)
tree19f01d5251cd6d478933a5f562ba985bf5c3b117 /src/print.c
parent7003b258300d0e575da8009e6f017b6c19aabacb (diff)
downloademacs-6ec8bbd20d14dadb850f993d828b42bb97deba32.tar.gz
emacs-6ec8bbd20d14dadb850f993d828b42bb97deba32.zip
Change all references from point to PT.
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/print.c b/src/print.c
index b6a12e7228d..b34adbf9814 100644
--- a/src/print.c
+++ b/src/print.c
@@ -173,9 +173,9 @@ glyph_to_str_cpy (glyphs, str)
173 error ("Marker does not point anywhere"); \ 173 error ("Marker does not point anywhere"); \
174 if (XMARKER (original)->buffer != current_buffer) \ 174 if (XMARKER (original)->buffer != current_buffer) \
175 set_buffer_internal (XMARKER (original)->buffer); \ 175 set_buffer_internal (XMARKER (original)->buffer); \
176 old_point = point; \ 176 old_point = PT; \
177 SET_PT (marker_position (printcharfun)); \ 177 SET_PT (marker_position (printcharfun)); \
178 start_point = point; \ 178 start_point = PT; \
179 printcharfun = Qnil;} \ 179 printcharfun = Qnil;} \
180 if (NILP (printcharfun)) \ 180 if (NILP (printcharfun)) \
181 { \ 181 { \
@@ -191,10 +191,10 @@ glyph_to_str_cpy (glyphs, str)
191 insert (print_buffer, print_buffer_pos); \ 191 insert (print_buffer, print_buffer_pos); \
192 if (print_buffer) free (print_buffer); \ 192 if (print_buffer) free (print_buffer); \
193 if (MARKERP (original)) \ 193 if (MARKERP (original)) \
194 Fset_marker (original, make_number (point), Qnil); \ 194 Fset_marker (original, make_number (PT), Qnil); \
195 if (old_point >= 0) \ 195 if (old_point >= 0) \
196 SET_PT (old_point + (old_point >= start_point \ 196 SET_PT (old_point + (old_point >= start_point \
197 ? point - start_point : 0)); \ 197 ? PT - start_point : 0)); \
198 if (old != current_buffer) \ 198 if (old != current_buffer) \
199 set_buffer_internal (old) 199 set_buffer_internal (old)
200 200