Mercurial > emacs
comparison src/undo.c @ 20372:259194f66d40
(record_change, record_first_change,
record_property_change): Declare it as void.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 27 Nov 1997 12:16:08 +0000 |
parents | dc2cb454b330 |
children | b6c215dec8c8 |
comparison
equal
deleted
inserted
replaced
20371:976eed15d6b5 | 20372:259194f66d40 |
---|---|
39 /* Record an insertion that just happened or is about to happen, | 39 /* Record an insertion that just happened or is about to happen, |
40 for LENGTH characters at position BEG. | 40 for LENGTH characters at position BEG. |
41 (It is possible to record an insertion before or after the fact | 41 (It is possible to record an insertion before or after the fact |
42 because we don't need to record the contents.) */ | 42 because we don't need to record the contents.) */ |
43 | 43 |
44 void | |
44 record_insert (beg, length) | 45 record_insert (beg, length) |
45 int beg, length; | 46 int beg, length; |
46 { | 47 { |
47 Lisp_Object lbeg, lend; | 48 Lisp_Object lbeg, lend; |
48 | 49 |
166 | 167 |
167 /* Record that an unmodified buffer is about to be changed. | 168 /* Record that an unmodified buffer is about to be changed. |
168 Record the file modification date so that when undoing this entry | 169 Record the file modification date so that when undoing this entry |
169 we can tell whether it is obsolete because the file was saved again. */ | 170 we can tell whether it is obsolete because the file was saved again. */ |
170 | 171 |
172 void | |
171 record_first_change () | 173 record_first_change () |
172 { | 174 { |
173 Lisp_Object high, low; | 175 Lisp_Object high, low; |
174 struct buffer *base_buffer = current_buffer; | 176 struct buffer *base_buffer = current_buffer; |
175 | 177 |
189 } | 191 } |
190 | 192 |
191 /* Record a change in property PROP (whose old value was VAL) | 193 /* Record a change in property PROP (whose old value was VAL) |
192 for LENGTH characters starting at position BEG in BUFFER. */ | 194 for LENGTH characters starting at position BEG in BUFFER. */ |
193 | 195 |
196 void | |
194 record_property_change (beg, length, prop, value, buffer) | 197 record_property_change (beg, length, prop, value, buffer) |
195 int beg, length; | 198 int beg, length; |
196 Lisp_Object prop, value, buffer; | 199 Lisp_Object prop, value, buffer; |
197 { | 200 { |
198 Lisp_Object lbeg, lend, entry; | 201 Lisp_Object lbeg, lend, entry; |