Mercurial > emacs
comparison src/buffer.c @ 22021:55fc60b09fa7
Comment change.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Mon, 11 May 1998 01:08:59 +0000 |
| parents | 96ae627335f5 |
| children | 8c00a2d112cc |
comparison
equal
deleted
inserted
replaced
| 22020:e144ad749084 | 22021:55fc60b09fa7 |
|---|---|
| 1806 pt = chars_in_text (BEG_ADDR, pt_byte - BEG_BYTE) + BEG; | 1806 pt = chars_in_text (BEG_ADDR, pt_byte - BEG_BYTE) + BEG; |
| 1807 TEMP_SET_PT_BOTH (pt, pt_byte); | 1807 TEMP_SET_PT_BOTH (pt, pt_byte); |
| 1808 } | 1808 } |
| 1809 | 1809 |
| 1810 tail = markers = BUF_MARKERS (current_buffer); | 1810 tail = markers = BUF_MARKERS (current_buffer); |
| 1811 | |
| 1812 /* This prevents BYTE_TO_CHAR (that is, buf_bytepos_to_charpos) from | |
| 1813 getting confused by the markers that have not yet been updated. | |
| 1814 It is also a signal that it should never create a marker. */ | |
| 1811 BUF_MARKERS (current_buffer) = Qnil; | 1815 BUF_MARKERS (current_buffer) = Qnil; |
| 1812 | 1816 |
| 1813 while (XSYMBOL (tail) != XSYMBOL (Qnil)) | 1817 while (XSYMBOL (tail) != XSYMBOL (Qnil)) |
| 1814 { | 1818 { |
| 1815 XMARKER (tail)->bytepos | 1819 XMARKER (tail)->bytepos |
